From 63349c274b61f6e6d316be6d5c86968ffcbfcfca Mon Sep 17 00:00:00 2001 From: Sadaqat Ali <48380998+aliseyalvi@users.noreply.github.com> Date: Fri, 29 Sep 2023 19:38:40 +0500 Subject: [PATCH] fixes meta not saving from mobile --- src/screens/editor/container/editorContainer.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screens/editor/container/editorContainer.tsx b/src/screens/editor/container/editorContainer.tsx index ceec7996c2..3c13517447 100644 --- a/src/screens/editor/container/editorContainer.tsx +++ b/src/screens/editor/container/editorContainer.tsx @@ -464,7 +464,7 @@ class EditorContainer extends Component { // create new darft otherwise else if (draftField) { const { title, body, tags } = draftField; - const draft = { title, body, tags, jsonMeta }; + const draft = { title, body, tags, meta: jsonMeta }; const response = await addDraft(draft); const _resDraft = response.pop(); @@ -707,8 +707,8 @@ class EditorContainer extends Component { }); const { post } = this.state; - - const _prefix = `re-${post.author.replace(/\./g, '')}` + + const _prefix = `re-${post.author.replace(/\./g, '')}`; const permlink = generateUniquePermlink(_prefix); const parentAuthor = post.author;