From e1ac319a7b46610fd1d492b3ab78e0e62e315d0e Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 21 Sep 2025 22:59:16 +0300 Subject: [PATCH] chore(react/type_widgets): active note not refreshing --- apps/client/src/widgets/type_widgets/Render.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/type_widgets/Render.tsx b/apps/client/src/widgets/type_widgets/Render.tsx index 60b8e91a5..69e087f07 100644 --- a/apps/client/src/widgets/type_widgets/Render.tsx +++ b/apps/client/src/widgets/type_widgets/Render.tsx @@ -21,7 +21,7 @@ export default function Render({ note, noteContext, ntxId }: TypeWidgetProps) { // Keyboard shortcut. useTriliumEvent("renderActiveNote", () => { - if (noteContext?.isActive()) return; + if (!noteContext?.isActive()) return; refresh(); });