src/store/user/useUserActions.tsx
Function useUserActions
has 145 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
export const useUserActions = () => {
const dispatch = useDispatch();
const getUserFromAuth0 = useCallback(
(token: string) => {
dispatch({type: UserTypes.FETCH_USER_START});