chore: bootstrap HemHub web (Iteration 0)

This commit is contained in:
Urban Modig
2025-10-09 14:14:17 +02:00
commit 64787b0b0b
25 changed files with 3221 additions and 0 deletions

13
src/app/providers.tsx Normal file
View File

@ -0,0 +1,13 @@
// src/app/providers.tsx
import { type PropsWithChildren, useState } from 'react'
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
export function AppProviders({ children }: PropsWithChildren) {
const [client] = useState(
() =>
new QueryClient({
defaultOptions: { queries: { refetchOnWindowFocus: false, retry: 1 } },
})
)
return <QueryClientProvider client={client}>{children}</QueryClientProvider>
}