title: Actions must be plain objects error using Redux Thunk
body: <p>I am encountering the following error while using redux-thunk. I am stuck for days and I have found many answers regarding on this question in stack overflow but none of them help. Sorry this maybe a stupid question. Any helps would be greatly appreciated. Thank you very much</p>
  
  <p>Error I am facing:
  <strong><em>Uncaught Error: Actions must be plain objects. Use custom middleware for async actions.</em></strong></p>
  
  <p>Store.js:</p>
  
  <pre><code>import { createStore, applyMiddleware } from 'redux'
  import ReduxThunk from 'redux-thunk'
  import reducer from './reducers'
  
  const store = createStore(reducer, {}, applyMiddleware(ReduxThunk))
  export default store
  </code></pre>
  
  <p>my Action:</p>
  
  <pre><code>export const getAllClientList = () =&gt; async (dispatch) =&gt; {
   try {
    let clientList = await axios.get(API_URL)
      dispatch({ type: types.RECEIVE_CLIENTLIST, clientList })
    } catch (e) {
      dispatch({ type: types.ERROR, message: e.message })
    }
  }
  </code></pre>