Skip to content

Commit

Permalink
Update edit-form.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
plebeius-eth committed Feb 21, 2024
1 parent 1918ee9 commit 9f43b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/edit-form/edit-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const EditForm = ({ commentCid, content, hideEditForm, spoiler = false, subplebb
// cleanup
resetEditStore();
};
}, [commentCid, content, spoiler, subplebbitAddress]);
}, [commentCid, content, spoiler, subplebbitAddress, resetEditStore, setEditStore]);

const { publishCommentEdit } = usePublishCommentEdit(publishCommentEditOptions);

Expand Down

0 comments on commit 9f43b64

Please sign in to comment.