diff --git a/apps/client/src/widgets/dialogs/jump_to_note.tsx b/apps/client/src/widgets/dialogs/jump_to_note.tsx index 15a9785af..94f3f37aa 100644 --- a/apps/client/src/widgets/dialogs/jump_to_note.tsx +++ b/apps/client/src/widgets/dialogs/jump_to_note.tsx @@ -51,10 +51,6 @@ export default function JumpToNoteDialogComponent() { } break; - // Mode.RecentNotes intentionally falls through to default: - // both represent the "normal open" behavior, where we decide between - // showing recent notes or restoring the last search depending on timing. - case Mode.RecentNotes: default: if (Date.now() - lastOpenedTs <= KEEP_LAST_SEARCH_FOR_X_SECONDS * 1000 && actualText.current) { newMode = Mode.LastSearch;