mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
refactor(react/ribbon): set up keyboard shortcuts
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user