feat: initial public release (MAESTRO)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { QueryClientProvider } from '@tanstack/react-query';
|
||||
import { App } from './App';
|
||||
import { queryClient } from './lib/queryClient';
|
||||
import './index.css';
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<App />
|
||||
</QueryClientProvider>
|
||||
);
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => {
|
||||
navigator.serviceWorker.register('/ui/sw.js', { scope: '/ui/' }).catch(() => {
|
||||
// Registration failures are non-fatal — the app works without the SW.
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user