Browse Source

fix: resolve new notes button not displaying

imwald
codytseng 6 months ago
parent
commit
336c6e993a
  1. 2
      src/components/NoteList/index.tsx

2
src/components/NoteList/index.tsx

@ -116,7 +116,7 @@ const NoteList = forwardRef( @@ -116,7 +116,7 @@ const NoteList = forwardRef(
idSet.add(id)
return true
})
}, [events, showCount, shouldHideEvent])
}, [newEvents, shouldHideEvent])
const scrollToTop = (behavior: ScrollBehavior = 'instant') => {
setTimeout(() => {

Loading…
Cancel
Save