title: Redux-thunk dispatch not working
body: <p>I am looking at thunk and trying to figure out how to implement an api call. It is not working so I have gone back to the very basics. When I click on the button it shows <code>'Getting here!</code> in the console, but nothing is showing when I <code>console.log(dispatch)</code>. Am I missing something here?</p>
  
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import { createStore, applyMiddleware } from 'redux';
  import { connect, Provider } from 'react-redux';
  import thunk from 'redux-thunk' 
  import axios from 'axis';
  
  const store = createStore(
      reducer,
      applyMiddleware(thunk)
  );
  
  function fetchUser() {
      return axios.get('https://randomuser.me/api/');
  }
  
  function addUser() {
      console.log('Getting here');
      return (dispatch) =&gt; {
          console.log(dispatch) //not showing anything
          return fetchUser().then(function(data){
            console.log(data);
          });
      };
  }
  
  class App extends React.Component {
      addUser() {
          addUser();
      }
  
      render() {
          return (
             &lt;button onClick={this.addUser.bind(this)}&gt;+&lt;/button&gt;
          )       
      }
  }
  
  const mapPropsToState = function(store){
      return {
          newState: store
      }
  }
  
  var ConnectApp = connect(mapPropsToState)(App);
  
  ReactDOM.render(
      &lt;Provider store={store}&gt;
          &lt;ConnectApp /&gt;
      &lt;/Provider&gt;,
      document.getElementById('app')
  )
  </code></pre>