This commit is contained in:
@@ -2,8 +2,13 @@ import { createRoot } from 'react-dom/client';
|
||||
import { QueryClientProvider } from '@tanstack/react-query';
|
||||
import { App } from './App';
|
||||
import { queryClient } from './lib/queryClient';
|
||||
import { initTheme } from './lib/theme';
|
||||
import './index.css';
|
||||
|
||||
// Keep [data-theme] in sync with the OS while pref is 'system'. The initial
|
||||
// attribute is already set pre-paint by the inline script in index.html.
|
||||
initTheme();
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<App />
|
||||
|
||||
Reference in New Issue
Block a user