Skip to content

Commit

Permalink
fix: setting loader type error
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Nov 7, 2024
1 parent d0d4f05 commit da8aad7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export const useSettingPageContext = (): SettingPageContext => {

export const useAvailableSettings = () => {
const ctx = useSettingPageContext()
return useMemo(() => settings.filter((t) => !t.loader().hideIf?.(ctx)), [ctx])
return useMemo(() => settings.filter((t) => !t.loader.hideIf?.(ctx)), [ctx])
}

0 comments on commit da8aad7

Please sign in to comment.