From 908fe11dc4e2a895626390f71702d119710aabe1 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Mon, 14 Oct 2024 17:23:58 +0200 Subject: [PATCH] Update post-form.tsx --- src/components/post-form/post-form.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/post-form/post-form.tsx b/src/components/post-form/post-form.tsx index 10229218..be8296d4 100644 --- a/src/components/post-form/post-form.tsx +++ b/src/components/post-form/post-form.tsx @@ -39,12 +39,6 @@ const PostFormTable = ({ closeForm, postCid }: { closeForm: () => void; postCid: const { publishCommentOptions, setPublishPostStore, resetPublishPostStore } = usePublishPostStore(); const { index, publishComment } = usePublishComment(publishCommentOptions); - useEffect(() => { - if (displayName) { - setPublishPostStore({ displayName }); - } - }, [displayName, setPublishPostStore]); - const textRef = useRef(null); const urlRef = useRef(null); const subjectRef = useRef(null);