Skip to content

Commit

Permalink
fix(article): uncomment autosave
Browse files Browse the repository at this point in the history
  • Loading branch information
GemN committed Sep 1, 2022
1 parent 53a9c58 commit 8969312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/containers/Article/Editor/AutosaveArticle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 8969312

Please sign in to comment.