Removed useNoteRefreshOptional() and refreshKey from sidebar. The notebook note titles useEffect now only depends on [notebooks] instead of [notebookIdsKey, refreshKey, notebooks, t]. This means sidebar note titles only re-fetch when notebooks change (add/delete/reorder), not on every triggerRefresh(). Individual note changes are handled by React Query cache invalidation. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
22 KiB
22 KiB