mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix eslint
This commit is contained in:
@@ -258,7 +258,7 @@ const PostFormTable = ({ closeForm, postCid }: { closeForm: () => void; postCid:
|
||||
setPublishPostStore({ displayName });
|
||||
}
|
||||
}
|
||||
}, [displayName, isInPostView]);
|
||||
}, [displayName, isInPostView, setPublishReplyOptions, setPublishPostStore]);
|
||||
|
||||
return (
|
||||
<table className={styles.postFormTable}>
|
||||
|
||||
@@ -228,7 +228,7 @@ const ReplyModal = ({ closeModal, showReplyModal, parentCid, postCid, scrollY, s
|
||||
hasInitializedDisplayName.current = true;
|
||||
setPublishReplyOptions({ displayName });
|
||||
}
|
||||
}, [displayName]);
|
||||
}, [displayName, setPublishReplyOptions]);
|
||||
|
||||
const modalContent = (
|
||||
<div className={styles.container} ref={nodeRef}>
|
||||
|
||||
Reference in New Issue
Block a user