Params fix
This commit is contained in:
parent
786217b753
commit
88fff73cc0
3 changed files with 9 additions and 10 deletions
|
|
@ -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],
|
||||
);
|
||||
|
|
|
|||
Reference in a new issue