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 7aa3933 commit c2523fcCopy full SHA for c2523fc
packages/toolkit/src/createSlice.ts
@@ -1045,11 +1045,11 @@ export function buildCreateSlice<
1045
reducerPath,
1046
type: getType(name, reducerName),
1047
}
1048
- const handler =
+ const { handle } =
1049
'reducer' in reducerDefinition
1050
? preparedReducerCreator
1051
: reducerCreator
1052
- handler.handle(
+ handle(
1053
reducerDetails,
1054
reducerDefinition as any,
1055
getContext(reducerDetails),
0 commit comments