fixed issue with remote draft not loading

This commit is contained in:
Nouman Tahir 2022-06-09 17:55:40 +05:00
parent b7928234e7
commit 1fd71decb8

View File

@ -215,9 +215,6 @@ class EditorContainer extends Component<any, any> {
//TOOD: get draft from redux after reply side is complete
const _draftId = paramDraft ? paramDraft._id : DEFAULT_USER_DRAFT_ID + username;
const _localDraft = drafts.get(_draftId);
if (!_localDraft) {
return;
}
//if _draft is returned and param draft is available, compare timestamp, use latest
//if no draft, use result anayways