0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/demo-app/src/index.tsx

8 lines
178 B
TypeScript
Raw Normal View History

import { createRoot } from 'react-dom/client';
2022-05-29 08:11:58 -05:00
import App from './App';
const app = document.querySelector('#app');
const root = app && createRoot(app);
root?.render(<App />);