React(how to fix redux thunk error)

hi

how do i fix this annoying problem? please see image below:





I am not sure but try changing

useEffect(() => {
    dispatch(loadUser());
  }, []);

you could also look into this post for more relevant info -> StackOverflow

hope this helps,
Abhishek