Skip to content

Commit

Permalink
refactor(react-query): rename QueryClientProvider context
Browse files Browse the repository at this point in the history
renaming this context then makes it match that of the solid-query implementation
  • Loading branch information
tludlow committed Dec 28, 2022
1 parent a485d51 commit 82003f6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/react-query/src/QueryClientProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ export const QueryClientProvider = ({
}
}, [client])

const Context = getQueryClientContext(context)
const QueryClientContext = getQueryClientContext(context)

return <Context.Provider value={client}>{children}</Context.Provider>
return (
<QueryClientContext.Provider value={client}>
{children}
</QueryClientContext.Provider>
)
}

0 comments on commit 82003f6

Please sign in to comment.