Initial Commit
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m6s
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m6s
This commit is contained in:
5
src/integrations/tanstack-query/header-user.tsx
Normal file
5
src/integrations/tanstack-query/header-user.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { SolidQueryDevtools } from '@tanstack/solid-query-devtools'
|
||||
|
||||
export default function AppTanstackQueryHeaderUser() {
|
||||
return <SolidQueryDevtools buttonPosition="bottom-right" />
|
||||
}
|
||||
8
src/integrations/tanstack-query/provider.tsx
Normal file
8
src/integrations/tanstack-query/provider.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import { QueryClient } from '@tanstack/solid-query'
|
||||
|
||||
export function getContext() {
|
||||
const queryClient = new QueryClient()
|
||||
return {
|
||||
queryClient,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user