9 lines
251 B
TypeScript
9 lines
251 B
TypeScript
import { createRoot } from 'react-dom/client';
|
|
|
|
import { App } from './App.js';
|
|
import './styles/index.css';
|
|
|
|
const root = document.getElementById('root');
|
|
if (!root) throw new Error('Harbor root element not found');
|
|
createRoot(root).render(<App />);
|