Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit2894c15

Browse files
committed
fix: add loading when edito body is null
1 parent13ba7f1 commit2894c15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/containers/PostEditor/index.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ const View = ({
4848
mentionList,
4949
contentDomId,
5050
})=>{
51+
if(!editData.body){
52+
return<div>loading...</div>
53+
}
54+
5155
if(curView==='CREATE_VIEW'||curView==='PREVIEW_VIEW'){
5256
return(
5357
<React.Fragment>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp