fix build error

This commit is contained in:
yoan
2024-12-11 22:28:04 +08:00
parent fba647313d
commit ba01edc691
10 changed files with 26 additions and 33 deletions

View File

@@ -20,7 +20,7 @@ interface NotifyProviderProps {
}
export const NotifyProvider = ({ children }: NotifyProviderProps) => {
const [notify, dispatchNotify] = useReducer(notifyReducer, {});
const [notify, dispatchNotify] = useReducer(notifyReducer, {} as SettingsModel<NotifyChannels>);
useEffect(() => {
featchData();