Update AuthContext.tsx

This commit is contained in:
IRBorisov 2023-08-10 14:13:36 +03:00
parent 05a7ed215b
commit a6afc08b2b

View File

@ -49,8 +49,7 @@ export const AuthState = ({ children }: AuthStateProps) => {
if (callback) callback();
}
});
}, [setUser]
);
}, [setUser]);
function login(data: IUserLoginData, callback?: DataCallback) {
setError(undefined);