fix(ribbon): code note types not refreshing

This commit is contained in:
Elian Doran
2025-08-27 19:13:30 +03:00
parent d616bc09c9
commit 1e1c8cc4ff
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ export function useTriliumOption(name: OptionNames, needsRefresh?: boolean): [st
const newValue = options.get(name);
setValue(newValue);
}
}, [ name ]));
}, [ name, setValue ]));
useDebugValue(name);