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 });
|
setPublishPostStore({ displayName });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [displayName, isInPostView]);
|
}, [displayName, isInPostView, setPublishReplyOptions, setPublishPostStore]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<table className={styles.postFormTable}>
|
<table className={styles.postFormTable}>
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ const ReplyModal = ({ closeModal, showReplyModal, parentCid, postCid, scrollY, s
|
|||||||
hasInitializedDisplayName.current = true;
|
hasInitializedDisplayName.current = true;
|
||||||
setPublishReplyOptions({ displayName });
|
setPublishReplyOptions({ displayName });
|
||||||
}
|
}
|
||||||
}, [displayName]);
|
}, [displayName, setPublishReplyOptions]);
|
||||||
|
|
||||||
const modalContent = (
|
const modalContent = (
|
||||||
<div className={styles.container} ref={nodeRef}>
|
<div className={styles.container} ref={nodeRef}>
|
||||||
|
|||||||
Reference in New Issue
Block a user