From 9879d07becd644c0ac89f234b5b0689fe9c933cc Mon Sep 17 00:00:00 2001 From: lzinga Date: Thu, 1 Jan 2026 11:05:30 -0800 Subject: [PATCH] fix(widget): remove redundant note context update in useLegacyWidget --- apps/client/src/widgets/react/hooks.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/client/src/widgets/react/hooks.tsx b/apps/client/src/widgets/react/hooks.tsx index f0019ac467..6c5b310612 100644 --- a/apps/client/src/widgets/react/hooks.tsx +++ b/apps/client/src/widgets/react/hooks.tsx @@ -677,7 +677,6 @@ export function useLegacyWidget(widgetFactory: () => T, { // The event system may have already updated the widget, in which case // widget.noteContext will already equal noteContext. if (widget.noteContext !== noteContext) { - widget.setNoteContextEvent({ noteContext }); widget.activeContextChangedEvent({ noteContext }); } }