Params fix

This commit is contained in:
Valentino Kozinec 2022-01-19 12:01:17 +01:00
parent 786217b753
commit 88fff73cc0
3 changed files with 9 additions and 10 deletions

View file

@ -7,8 +7,8 @@ export function useAuth() {
const auth = useSelector(getAuth);
const logIn = useCallback(
(state) => {
return dispatch(signIn(state));
(params) => {
return dispatch(signIn(params));
},
[dispatch],
);