mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
7 lines
178 B
TypeScript
7 lines
178 B
TypeScript
import { createRoot } from 'react-dom/client';
|
|
|
|
import App from './App';
|
|
|
|
const app = document.querySelector('#app');
|
|
const root = app && createRoot(app);
|
|
root?.render(<App />);
|