diff --git a/src/containers/Article/Editor/AutosaveArticle.tsx b/src/containers/Article/Editor/AutosaveArticle.tsx index f24d9a647..b051f3305 100644 --- a/src/containers/Article/Editor/AutosaveArticle.tsx +++ b/src/containers/Article/Editor/AutosaveArticle.tsx @@ -27,14 +27,14 @@ const _AutosaveArticle = ({ const handleSaveDraft = useCallback((articleFormState: NFTArticleForm) => { setStatus('saving'); -/* dispatch({ + dispatch({ type: 'save', payload: { id, articleForm: articleFormState, minted: isMinted, }, - })*/ + }) console.log(articleFormState.body) setStatus('saved'); }, [dispatch, id, isMinted])