mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Update post-form.tsx
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user