mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
fix(ribbon): code note types not refreshing
This commit is contained in:
@@ -102,7 +102,7 @@ export function useTriliumOption(name: OptionNames, needsRefresh?: boolean): [st
|
||||
const newValue = options.get(name);
|
||||
setValue(newValue);
|
||||
}
|
||||
}, [ name ]));
|
||||
}, [ name, setValue ]));
|
||||
|
||||
useDebugValue(name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user