From 336c6e993a040c6cb8cd0e6fd8c9cbd113b79245 Mon Sep 17 00:00:00 2001 From: codytseng Date: Wed, 3 Sep 2025 09:44:25 +0800 Subject: [PATCH] fix: resolve new notes button not displaying --- src/components/NoteList/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/NoteList/index.tsx b/src/components/NoteList/index.tsx index cf0f6e61..6e115119 100644 --- a/src/components/NoteList/index.tsx +++ b/src/components/NoteList/index.tsx @@ -116,7 +116,7 @@ const NoteList = forwardRef( idSet.add(id) return true }) - }, [events, showCount, shouldHideEvent]) + }, [newEvents, shouldHideEvent]) const scrollToTop = (behavior: ScrollBehavior = 'instant') => { setTimeout(() => {