We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d4f05 commit da8aad7Copy full SHA for da8aad7
apps/renderer/src/modules/settings/hooks/use-setting-ctx.ts
@@ -12,5 +12,5 @@ export const useSettingPageContext = (): SettingPageContext => {
12
13
export const useAvailableSettings = () => {
14
const ctx = useSettingPageContext()
15
- return useMemo(() => settings.filter((t) => !t.loader().hideIf?.(ctx)), [ctx])
+ return useMemo(() => settings.filter((t) => !t.loader.hideIf?.(ctx)), [ctx])
16
}
0 commit comments