Skip to content

Commit c2523fc

Browse files
committed
golf
1 parent 7aa3933 commit c2523fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/toolkit/src/createSlice.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,11 +1045,11 @@ export function buildCreateSlice<
10451045
reducerPath,
10461046
type: getType(name, reducerName),
10471047
}
1048-
const handler =
1048+
const { handle } =
10491049
'reducer' in reducerDefinition
10501050
? preparedReducerCreator
10511051
: reducerCreator
1052-
handler.handle(
1052+
handle(
10531053
reducerDetails,
10541054
reducerDefinition as any,
10551055
getContext(reducerDetails),

0 commit comments

Comments
 (0)