Update post-form.tsx

This commit is contained in:
Tom (plebeius.eth)
2024-10-14 17:23:58 +02:00
parent af7505c45f
commit 908fe11dc4
-6
View File
@@ -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<HTMLTextAreaElement>(null);
const urlRef = useRef<HTMLInputElement>(null);
const subjectRef = useRef<HTMLInputElement>(null);