Skip to content

Commit

Permalink
Merge pull request #26 from adjohnson916/patch-1
Browse files Browse the repository at this point in the history
docs(README): use `.default` for `require`
  • Loading branch information
leoasis authored May 8, 2017
2 parents 9dedfd5 + 722c055 commit e885777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const reducer = require('./reducers/index');

// Be sure to ONLY add this middleware in development!
const middleware = process.env.NODE_ENV !== 'production' ?
[require('redux-immutable-state-invariant')(), thunk] :
[require('redux-immutable-state-invariant').default(), thunk] :
[thunk];

// Note passing middleware as the last argument to createStore requires redux@>=3.1.0
Expand Down

0 comments on commit e885777

Please sign in to comment.