refactor(react/ribbon): set up keyboard shortcuts

This commit is contained in:
Elian Doran
2025-08-23 20:59:13 +03:00
parent d53faa8c01
commit 9f217b88e4
4 changed files with 13 additions and 28 deletions

View File

@@ -450,7 +450,6 @@ export function useLegacyWidget<T extends BasicWidget>(widgetFactory: () => T, {
// Inject the note context.
useEffect(() => {
console.log("Injecting note context");
if (noteContext && widget instanceof NoteContextAwareWidget) {
widget.activeContextChangedEvent({ noteContext });
}