fix: error merge systemFeatures, it may cause error

This commit is contained in:
NFish 2024-11-13 13:56:14 +08:00
parent 4129595369
commit eb97a57364

View File

@ -144,7 +144,7 @@ export const AppContextProvider: FC<AppContextProviderProps> = ({ children }) =>
theme, theme,
setTheme: handleSetTheme, setTheme: handleSetTheme,
apps: appList.data, apps: appList.data,
systemFeatures: { ...systemFeatures, ...defaultSystemFeatures }, systemFeatures: { ...defaultSystemFeatures, ...systemFeatures },
mutateApps, mutateApps,
userProfile, userProfile,
mutateUserProfile, mutateUserProfile,