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 a3176f2 commit 6ef5622Copy full SHA for 6ef5622
apps/renderer/src/modules/settings/title.tsx
@@ -41,7 +41,7 @@ export const SettingsTitle = ({
41
icon: iconName,
42
name: title,
43
headerIcon,
44
- } = (useLoaderData() || loader?.() || {}) as SettingPageConfig
+ } = (useLoaderData() || loader || {}) as SettingPageConfig
45
46
const usedIcon = headerIcon || iconName
47
const isInSettingIndependentWindow = useContext(IsInSettingIndependentWindowContext)
0 commit comments