Skip to content

Commit 0446791

Browse files
committed
fix: query on provider
1 parent 1b63b51 commit 0446791

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/react/components/QueryProvider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ export function QueryProvider({
4343

4444
const value = useMemo(
4545
function (): ContextValue {
46-
return { query, clearOnForget, ignoreTransitionContext }
46+
return { query: localQuery, clearOnForget, ignoreTransitionContext }
4747
},
48-
[query, clearOnForget, ignoreTransitionContext]
48+
[localQuery, clearOnForget, ignoreTransitionContext]
4949
)
5050

5151
return <Context value={value}>{children}</Context>

0 commit comments

Comments
 (0)