From 0dd3a03c6b8dcf8ec33d26eeb66bf21b29b12bc8 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 3 Jan 2026 19:30:52 +0200 Subject: [PATCH] chore(client): fix type issue --- apps/client/src/widgets/layout/NoteBadges.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/layout/NoteBadges.tsx b/apps/client/src/widgets/layout/NoteBadges.tsx index c3da77d4a..8a45a3cae 100644 --- a/apps/client/src/widgets/layout/NoteBadges.tsx +++ b/apps/client/src/widgets/layout/NoteBadges.tsx @@ -109,13 +109,13 @@ function ExecuteBadge() { ); } -function SaveStatusBadge() { +export function SaveStatusBadge() { const saveState = useGetContextData("saveState"); if (!saveState) return; let icon: string; let title: string; - let tooltip: string; + let tooltip: string | undefined; switch (saveState?.state) { case "saved": icon = "bx bx-check";