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