Update edit-form.tsx

This commit is contained in:
plebeius.eth
2024-02-21 22:18:34 +01:00
parent 1918ee96ee
commit 9f43b64fd8

View File

@@ -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);