title: TypeError: Cannot read property 'type' of undefined in react js
body: <p>I am using jumbo 4.1.1 template. I get the response, but this error occurs.
  My code is below:
  authAction.js:</p>
  <pre><code>...
  export const userSignIn = (user) =&gt; {
  // const {email, password} = user;
  console.log(user)
  axios.post(base_url +'login', user)
  .then(response=&gt; {
      console.log(response.data)
      return {
          type: SIGNIN_USER,
          payload: user
      };
  })    
  };
  </code></pre>
  <p>But when I run the project, I got the error <code>TypeError: Cannot read property 'type' of undefined</code>
  <a href="https://i.stack.imgur.com/7RtXv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7RtXv.png" alt="enter image description here" /></a></p>