fix all missing deps except for bugged one

This commit is contained in:
Tom
2023-04-27 11:42:51 +02:00
parent 428b335cfc
commit 4e1575f5fc
4 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -64,7 +64,6 @@ const Board = () => {
const account = useAccount();
const flattenedRepliesByThread = useMemo(() => {
return selectedFeed.reduce((acc, thread) => {
const replies = flattenCommentsPages(thread.replies);
@@ -207,7 +206,7 @@ const Board = () => {
setPendingCommentIndex(index);
navigate(`/profile/c/${index}`);
}
}, [index]);
}, [index, navigate, setPendingCommentIndex]);
const resetFields = () => {