Skip to content

Commit 7b7975b

Browse files
author
Jakob Schlanstedt
committed
style(jump_to_note): remove dead case to improve readability
1 parent 2cb2f4e commit 7b7975b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

apps/client/src/widgets/dialogs/jump_to_note.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ export default function JumpToNoteDialogComponent() {
5151
}
5252
break;
5353

54-
// Mode.RecentNotes intentionally falls through to default:
55-
// both represent the "normal open" behavior, where we decide between
56-
// showing recent notes or restoring the last search depending on timing.
57-
case Mode.RecentNotes:
5854
default:
5955
if (Date.now() - lastOpenedTs <= KEEP_LAST_SEARCH_FOR_X_SECONDS * 1000 && actualText.current) {
6056
newMode = Mode.LastSearch;

0 commit comments

Comments
 (0)