title: ERROR in ./src/redux/store.js 5:26-34 export 'reducers' (imported as 'reducers') was not found in './reducers/index' (possible exports: default)
body: <p>I am currently learning redux and i have no idea why my code wouldn't work, especially since i have the same code as the instructor. i get these error messages:</p>
  <pre><code>ERROR in ./src/redux/store.js 5:26-34
  
  export 'reducers' (imported as 'reducers') was not found in './reducers/index' (possible exports: default)
  ```and 
  </code></pre>
  <p>Uncaught Error: Expected the reducer to be a function.
  at a (:2587:23)
  at :2593:23
  at :3548:14
  at createStore (redux.js:154:1)
  at Module../src/redux/store.js (store.js:4:1)
  at Module.options.factory (react refresh:6:1)
  at <strong>webpack_require</strong> (bootstrap:24:1)
  at fn (hot module replacement:61:1)
  at Module../src/index.js (App.js:11:1)
  at Module.options.factory (react refresh:6:1)</p>
  <pre><code>This is my ./reducers/index file: 
  
  </code></pre>
  <p>import { combineReducers } from &quot;redux&quot;;
  import { productReducers } from &quot;./productReducers&quot;;</p>
  <p>const reducers = combineReducers({
  allProducts: productReducers,
  });</p>
  <p>export default reducers;</p>
  <pre><code>and my redux/store.js:
  
  </code></pre>
  <p>import { createStore } from &quot;redux&quot;;
  import { reducers } from &quot;./reducers/index&quot;;</p>
  <p>const store = createStore(
  reducers,
  {},
  window.<strong>REDUX_DEVTOOLS_EXTENSION</strong> &amp;&amp; window.<strong>REDUX_DEVTOOLS_EXTENSION</strong>()
  );</p>
  <p>export default store;</p>
  <pre><code></code></pre>