fixed type errors

This commit is contained in:
2025-09-16 14:20:38 +01:00
parent c506c395e6
commit b98e3ed85d
21 changed files with 161 additions and 130 deletions

View File

@@ -7,10 +7,10 @@ type AlertHitProviderTypeProps = {
};
export const AlertHitProvider = ({ children }: AlertHitProviderTypeProps) => {
const [state, disptach] = useReducer(reducer, initalState);
const [state, dispatch] = useReducer(reducer, initalState);
return (
<AlertHitContext.Provider value={{ state, disptach }}>
<AlertHitContext.Provider value={{ state, dispatch }}>
{children}
</AlertHitContext.Provider>
);