mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
revert to fix hooks deps
This commit is contained in:
@@ -207,7 +207,7 @@ const Board = () => {
|
||||
setPendingCommentIndex(index);
|
||||
navigate(`/profile/c/${index}`);
|
||||
}
|
||||
}, [index, navigate, setPendingCommentIndex]);
|
||||
}, [index]);
|
||||
|
||||
|
||||
const resetFields = () => {
|
||||
@@ -248,7 +248,7 @@ const Board = () => {
|
||||
resetFields();
|
||||
})();
|
||||
}
|
||||
}, [publishCommentOptions, publishComment]);
|
||||
}, [publishCommentOptions]);
|
||||
|
||||
|
||||
const getChallengeAnswersFromUser = async (challenges) => {
|
||||
|
||||
Reference in New Issue
Block a user