Skip to content

Commit 9fcb846

Browse files
formatting
1 parent 35488bc commit 9fcb846

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

src/features/shell/sync-dialog.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ export function SyncDialog({
283283
</div>
284284
)}
285285
</div>
286-
287286
</DialogPopup>
288287
</DialogPortal>
289288
</DialogRoot>

src/features/shell/use-shell-controller.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,11 @@ export function useShellController() {
668668

669669
flushCurrentDraft();
670670
const tagsForNewNote = [...activeTags];
671-
if (noteFilter !== "notebook" && noteFilter !== "today" && noteFilter !== "todo") {
671+
if (
672+
noteFilter !== "notebook" &&
673+
noteFilter !== "today" &&
674+
noteFilter !== "todo"
675+
) {
672676
setNoteFilter("all");
673677
}
674678
setSearchQuery("");

src/stores/use-shell-store.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import { create } from "zustand";
22

3-
export type NoteFilter = "all" | "today" | "todo" | "notebook" | "archive" | "trash";
3+
export type NoteFilter =
4+
| "all"
5+
| "today"
6+
| "todo"
7+
| "notebook"
8+
| "archive"
9+
| "trash";
410

511
type ShellStore = {
612
activeNotebookId: string | null;

0 commit comments

Comments
 (0)