fix: setting loader type error (#1469)
This commit is contained in:
@@ -41,7 +41,7 @@ export const SettingsTitle = ({
|
||||
icon: iconName,
|
||||
name: title,
|
||||
headerIcon,
|
||||
} = (useLoaderData() || loader?.() || {}) as SettingPageConfig
|
||||
} = (useLoaderData() || loader || {}) as SettingPageConfig
|
||||
|
||||
const usedIcon = headerIcon || iconName
|
||||
const isInSettingIndependentWindow = useContext(IsInSettingIndependentWindowContext)
|
||||
|
||||
Reference in New Issue
Block a user