import React from 'react' import ReactDOM from 'react-dom/client' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { Toaster } from 'react-hot-toast' import App from './App.jsx' import '@xenia/ui/styles.css' // shared tokens + component styles (.x-*), no global rules import './index.css' import { applyLook, getStoredLook } from '@xenia/ui' // The look saved on this device (6.15): light / dark / system, the palette and the style, // chosen in the profile menu (every page is on the tokens since 6.14). applyLook(getStoredLook()) const queryClient = new QueryClient({ defaultOptions: { queries: { retry: 1, staleTime: 10_000 }, }, }) ReactDOM.createRoot(document.getElementById('root')).render( )