title: TypeError: Object(...) is not a function on index.js
body: <p>Hi i get this error when in my browser when i run my code:</p>
  
  <p>TypeError: Object(...) is not a function
  ./src/index.js
  src/index.js:31</p>
  
  <p>28 |     firebaseStateName: 'firebase'
    29 | }
    30 | const initialState = {};</p>
  
  <blockquote>
    <p>31 | const store = createStore(rootReducer,initialState,
      32 |     compose(
      33 |         applyMiddleware(thunk.withExtraArgument({ getFirebase, getFirestore })),
      34 |         reactReduxFirebase(firebase, config),</p>
  </blockquote>
  
  <p>i tryed using thing libary:</p>
  
  <p><a href="http://docs.react-redux-firebase.com/history/v3.0.0/docs/integrations/thunks.html" rel="nofollow noreferrer">http://docs.react-redux-firebase.com/history/v3.0.0/docs/integrations/thunks.html</a></p>
  
  <p>however still no succes :/</p>
  
  <p>below my index.js file</p>
  
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import './index.css';
  import App from './App';
  import * as serviceWorker from './serviceWorker';
  import { createStore, applyMiddleware, compose } from 'redux'
  import rootReducer from './store/reducers/rootReducer'
  import { Provider } from 'react-redux'
  import thunk from 'redux-thunk'
  import { createFirestoreInstance, reduxFirestore, getFirestore } from 'redux-firestore';
  import { ReactReduxFirebaseProvider, reactReduxFirebase, getFirebase } from 'react-redux-firebase';
  import fbConfig from './config/fbconfig'
  import firebase from 'firebase/app'
  import 'firebase/firestore'
  import 'firebase/auth'
  import 'firebase/storage'
  import 'firebase/functions'
  
  firebase.initializeApp(fbConfig);
  firebase.firestore();
  firebase.storage().ref();
  firebase.functions();
  const config = {
      useFirestoreForProfile:true,
      userProfile: 'Klanten',
      userFirestoreForProfile: true,
      attachAuthIsReady: true,
      firebaseStateName: 'firebase'
  }
  const initialState = {};
  const store = createStore(rootReducer,initialState,
      compose(
          applyMiddleware(thunk.withExtraArgument({ getFirebase, getFirestore })),
          reactReduxFirebase(firebase, config),
          reduxFirestore(firebase)
      )
  )
  
  store.firebaseAuthIsReady.then(() =&gt; {
      const rrfProps = {
          firebase,
          config: fbConfig,
          dispatch: store.dispatch,
          createFirestoreInstance
      }
  
  ReactDOM.render(&lt;Provider store={store}&gt;&lt;ReactReduxFirebaseProvider {...rrfProps}&gt;&lt;App /&gt;&lt;/ReactReduxFirebaseProvider&gt;&lt;/Provider&gt;, document.getElementById('root'));
      serviceWorker.unregister();
  })
  </code></pre>
  
  <p>this is my rootReducer.js</p>
  
  <pre><code>import authReducer from './authReducer'
  import shopReducer from './shopReducer'
  import { combineReducers } from 'redux'
  import { firebaseReducer } from 'react-redux-firebase'
  import { firestoreReducer } from 'redux-firestore'
  
  const rootReducer = combineReducers({
      firebase: firebaseReducer,
      firestore: firestoreReducer,
      auth: authReducer,
      shop: shopReducer
  })
  
  export default rootReducer
  </code></pre>