We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece8442 commit 4af6bd4Copy full SHA for 4af6bd4
packages/toolkit/src/createSlice.ts
@@ -930,7 +930,7 @@ export function buildCreateSlice<
930
type: getType(name, reducerName),
931
}
932
const handler =
933
- 'reduce' in reducerDefinition
+ 'reducer' in reducerDefinition
934
? preparedReducerCreator
935
: reducerCreator
936
handler.handle(reducerDetails, reducerDefinition as any, contextMethods)
0 commit comments