From f89c40cde6838339906afc8fcf39d1a6c86dc044 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 4 Dec 2025 17:02:37 +0200 Subject: [PATCH] fix(react/launch_bar): type error in bookmarks --- apps/client/src/widgets/containers/launcher.tsx | 2 +- apps/client/src/widgets/launch_bar/BookmarkButtons.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/containers/launcher.tsx b/apps/client/src/widgets/containers/launcher.tsx index aeb368cff..55f518eca 100644 --- a/apps/client/src/widgets/containers/launcher.tsx +++ b/apps/client/src/widgets/containers/launcher.tsx @@ -12,7 +12,7 @@ import ProtectedSessionStatusWidget from "../launch_bar/ProtectedSessionStatusWi import { VNode } from "preact"; import { CommandButton, CustomNoteLauncher, NoteLauncher } from "../launch_bar/GenericButtons.jsx"; import date_notes from "../../services/date_notes.js"; -import { useLegacyWidget, useNoteContext } from "../react/hooks.jsx"; +import { useLegacyWidget } from "../react/hooks.jsx"; import QuickSearchWidget from "../quick_search.js"; import { ParentComponent } from "../react/react_utils.jsx"; import { useContext } from "preact/hooks"; diff --git a/apps/client/src/widgets/launch_bar/BookmarkButtons.tsx b/apps/client/src/widgets/launch_bar/BookmarkButtons.tsx index a165ce278..676a2a800 100644 --- a/apps/client/src/widgets/launch_bar/BookmarkButtons.tsx +++ b/apps/client/src/widgets/launch_bar/BookmarkButtons.tsx @@ -28,7 +28,7 @@ function SingleBookmark({ note }: { note: FNote }) { const [ bookmarkFolder ] = useNoteLabelBoolean(note, "bookmarkFolder"); return bookmarkFolder ? - : + : note.noteId} /> } function BookmarkFolder({ note }: { note: FNote }) {