Skip to content

Commit

Permalink
Fix unused parameter error
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Mar 25, 2021
1 parent 4d86de5 commit 5a2bf6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export function createReducer<S>(
? executeReducerBuilderCallback(mapOrBuilderCallback)
: [mapOrBuilderCallback, actionMatchers, defaultCaseReducer]

const frozenInitialState = createNextState(initialState, draft => {})
const frozenInitialState = createNextState(initialState, () => {})

return function(state = frozenInitialState, action): S {
let caseReducers = [
Expand Down

0 comments on commit 5a2bf6c

Please sign in to comment.