mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 12:21:31 +03:00
fixed issue with remote draft not loading
This commit is contained in:
parent
b7928234e7
commit
1fd71decb8
@ -215,9 +215,6 @@ class EditorContainer extends Component<any, any> {
|
|||||||
//TOOD: get draft from redux after reply side is complete
|
//TOOD: get draft from redux after reply side is complete
|
||||||
const _draftId = paramDraft ? paramDraft._id : DEFAULT_USER_DRAFT_ID + username;
|
const _draftId = paramDraft ? paramDraft._id : DEFAULT_USER_DRAFT_ID + username;
|
||||||
const _localDraft = drafts.get(_draftId);
|
const _localDraft = drafts.get(_draftId);
|
||||||
if (!_localDraft) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//if _draft is returned and param draft is available, compare timestamp, use latest
|
//if _draft is returned and param draft is available, compare timestamp, use latest
|
||||||
//if no draft, use result anayways
|
//if no draft, use result anayways
|
||||||
|
Loading…
Reference in New Issue
Block a user