fix(pending post page): opening settings would change theme

This commit is contained in:
Tom (plebeius.eth)
2024-08-06 22:03:19 +02:00
parent 62e041ae91
commit 5095e0e3b9
2 changed files with 1 additions and 8 deletions
-7
View File
@@ -256,13 +256,6 @@ const PostFormTable = ({ closeForm, postCid }: { closeForm: () => void; postCid:
}
}, [anonMode, getAnonAddressForPost, getAnonAddressForReply, isInPostView]);
useEffect(() => {
if (subplebbitAddress) {
resetSubmitStore();
resetPublishReplyOptions();
}
}, [subplebbitAddress, resetSubmitStore, resetPublishReplyOptions]);
return (
<table className={styles.postFormTable}>
<tbody>