mirror of
https://github.com/luanslimadev/Wand-Enhancer.git
synced 2026-09-04 12:13:17 +00:00
17 lines
346 B
TypeScript
17 lines
346 B
TypeScript
import { StrictMode } from 'react';
|
|
import { createRoot } from 'react-dom/client';
|
|
import { App } from './app';
|
|
import './index.css';
|
|
|
|
const root = document.getElementById('root') ?? document.getElementById('app');
|
|
|
|
if (!root) {
|
|
throw new Error('App root not found.');
|
|
}
|
|
|
|
createRoot(root).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
);
|