chore(react/type_widgets): active note not refreshing

This commit is contained in:
Elian Doran 2025-09-21 22:59:16 +03:00
parent 763c489cd3
commit e1ac319a7b
No known key found for this signature in database

View File

@ -21,7 +21,7 @@ export default function Render({ note, noteContext, ntxId }: TypeWidgetProps) {
// Keyboard shortcut. // Keyboard shortcut.
useTriliumEvent("renderActiveNote", () => { useTriliumEvent("renderActiveNote", () => {
if (noteContext?.isActive()) return; if (!noteContext?.isActive()) return;
refresh(); refresh();
}); });