From 29f9c311d22f77265e7e0e65e67b7b1ec1bbf065 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 14 Sep 2025 20:57:36 +0300 Subject: [PATCH] chore(client): missing class selector --- apps/client/src/widgets/ribbon/NoteInfoTab.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/client/src/widgets/ribbon/NoteInfoTab.tsx b/apps/client/src/widgets/ribbon/NoteInfoTab.tsx index f2add08a4..2e670d51d 100644 --- a/apps/client/src/widgets/ribbon/NoteInfoTab.tsx +++ b/apps/client/src/widgets/ribbon/NoteInfoTab.tsx @@ -40,7 +40,7 @@ export default function NoteInfoTab({ note }: TabContext) { {t("note_info_widget.note_id")}: - {note.noteId} + {note.noteId} {t("note_info_widget.created")}: {formatDateTime(metadata?.dateCreated)} {t("note_info_widget.modified")}: @@ -64,11 +64,11 @@ export default function NoteInfoTab({ note }: TabContext) { text={t("note_info_widget.calculate")} onClick={() => { setIsLoading(true); - setTimeout(async () => { + setTimeout(async () => { await Promise.allSettled([ server.get(`stats/note-size/${note.noteId}`).then(setNoteSizeResponse), server.get(`stats/subtree-size/${note.noteId}`).then(setSubtreeSizeResponse) - ]); + ]); setIsLoading(false); }, 0); }} @@ -87,7 +87,7 @@ export default function NoteInfoTab({ note }: TabContext) { - )} + )} ) -} \ No newline at end of file +}