Skip to content

Commit

Permalink
Fixing small typo (#3436)
Browse files Browse the repository at this point in the history
The docs have the `keysToRemove` array set to a const but then later in the code try to reassign the variable to another array.
  • Loading branch information
raybooysen authored and markerikson committed May 29, 2019
1 parent f7dc934 commit 81fe679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/recipes/CodeSplitting.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function createReducerManager(initialReducers) {
let combinedReducer = combineReducers(reducers)

// An array which is used to delete state keys when reducers are removed
const keysToRemove = []
let keysToRemove = []

return {
getReducerMap: () => reducers,
Expand Down

0 comments on commit 81fe679

Please sign in to comment.