Files
hipctf/index.tsx
m0rph3us1987 1c756af238 initial commit
2026-01-07 13:27:11 +01:00

17 lines
351 B
TypeScript

import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
const rootElement = document.getElementById('root');
if (!rootElement) {
throw new Error("Could not find root element to mount to");
}
const root = ReactDOM.createRoot(rootElement);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);