fixes
This commit is contained in:
parent
d1f50e6d64
commit
bf8ff190bc
@ -10,7 +10,6 @@ export const HeaderQuiz = ({header}) => {
|
|||||||
const dispatch = useDispatch()
|
const dispatch = useDispatch()
|
||||||
const userId = localStorage.getItem('id');
|
const userId = localStorage.getItem('id');
|
||||||
const userInfo = useSelector(selectUserInfo);
|
const userInfo = useSelector(selectUserInfo);
|
||||||
console.log(userInfo)
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
dispatch(setUserInfo(userId))
|
dispatch(setUserInfo(userId))
|
||||||
|
Loading…
Reference in New Issue
Block a user