Skip to content

Commit

Permalink
redux [nfc]: Simplify combined reducer (n/n): done.
Browse files Browse the repository at this point in the history
  • Loading branch information
gnprice committed Jan 27, 2021
1 parent 378e1fd commit 7bf6112
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/boot/reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ function applyReducer<Key: $Keys<GlobalState>, State>(
return nextState;
}

// Inlined just now from Redux upstream.
// We'll clean this up in the next few commits.
// Based on Redux upstream's combineReducers.
const combinedReducer = (state: void | GlobalState, action: Action): GlobalState => {
// prettier-ignore
const nextState = {
Expand Down

0 comments on commit 7bf6112

Please sign in to comment.