I\'m using easy-peasy (redux based state management) and I don\'t know why I\'m getting this error when I\'m calling action method in useEffect in the below code: Un