mkstack/src/main.tsx

18 lines
412 B
TypeScript
Raw Normal View History

2025-06-15 12:35:47 -05:00
import { createRoot } from 'react-dom/client';
2025-04-16 21:43:54 -05:00
2025-06-15 12:35:47 -05:00
// Import polyfills first
import './lib/polyfills.ts';
import { ErrorBoundary } from '@/components/ErrorBoundary';
2025-06-15 12:35:47 -05:00
import App from './App.tsx';
import './index.css';
2025-04-16 21:43:54 -05:00
// FIXME: a custom font should be used. Eg:
2025-06-06 14:27:19 -05:00
// import '@fontsource-variable/<font-name>';
2025-06-02 10:13:20 -05:00
createRoot(document.getElementById("root")!).render(
<ErrorBoundary>
<App />
</ErrorBoundary>
);