Skip to content

Commit bd0036b

Browse files
author
ben.durrant
committed
fix buildHooks
1 parent b394b04 commit bd0036b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/toolkit/src/query/react/buildHooks.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,9 +581,7 @@ export function buildHooks<Definitions extends EndpointDefinitions>({
581581
api,
582582
moduleOptions: {
583583
batch,
584-
useDispatch,
585-
useSelector,
586-
useStore,
584+
hooks: { useDispatch, useSelector, useStore },
587585
unstable__sideEffectsInRender,
588586
},
589587
serializeQueryArgs,

0 commit comments

Comments
 (0)