Skip to content

Commit 83581df

Browse files
author
G. Kay Lee
committed
Update compose.md
Fix incorrect desugared example code of `compose()`
1 parent 9694c34 commit 83581df

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/api/compose.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ if (process.env.NODE_ENV === 'production') {
4646
//
4747
// finalCreateStore = applyMiddleware(middleware)(
4848
// require('redux-devtools').devTools()(
49-
// require('redux-devtools').persistState(window.location.href.match(/[?&]debug_session=([^&]+)\b/))()
49+
// require('redux-devtools').persistState(
50+
// window.location.href.match(/[?&]debug_session=([^&]+)\b/)
51+
// )(createStore)
5052
// )
51-
// )(createStore);
53+
// );
5254
}
5355

5456
let store = finalCreateStore(reducer);

0 commit comments

Comments
 (0)