mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
Make response freshness React Query-safe, retry the failed Weekend/Preview/Briefing resources with busy gating, preserve distinct embedded Preview notices, and clear fatal Live errors once SSE supplies usable timing. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
567 B
TypeScript
18 lines
567 B
TypeScript
import React from 'react'
|
|
import ReactDOM from 'react-dom/client'
|
|
import { RouterProvider } from '@tanstack/react-router'
|
|
import { QueryClientProvider } from '@tanstack/react-query'
|
|
import { createAppQueryClient } from './lib/queryClient'
|
|
import { router } from './router'
|
|
import './styles/app.css'
|
|
|
|
const queryClient = createAppQueryClient()
|
|
|
|
ReactDOM.createRoot(document.getElementById('root')!).render(
|
|
<React.StrictMode>
|
|
<QueryClientProvider client={queryClient}>
|
|
<RouterProvider router={router} />
|
|
</QueryClientProvider>
|
|
</React.StrictMode>,
|
|
)
|