import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import './index.css';
import { initBackend } from './lib/backend';

initBackend().then(async () => {
  const { default: App } = await import('./App');
  createRoot(document.getElementById('root')!).render(<StrictMode><App /></StrictMode>);
});
