mirror of
https://github.com/davidkaya/aryx.git
synced 2026-07-27 23:18:46 +02:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
17 lines
353 B
TypeScript
17 lines
353 B
TypeScript
import { StrictMode } from 'react';
|
|
import { createRoot } from 'react-dom/client';
|
|
|
|
import App from '@renderer/App';
|
|
import '@renderer/styles.css';
|
|
|
|
const container = document.getElementById('root');
|
|
if (!container) {
|
|
throw new Error('Could not find the root element.');
|
|
}
|
|
|
|
createRoot(container).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
);
|