0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-10 21:58:23 -05:00
logto/packages/experience/src/index.tsx

12 lines
334 B
TypeScript
Raw Normal View History

/* eslint-disable-next-line import/no-unassigned-import */
import 'core-js/actual';
import { createRoot } from 'react-dom/client';
import ReactModal from 'react-modal';
2022-02-18 07:25:54 +08:00
2022-02-18 17:11:54 +08:00
import App from './App';
2022-02-18 07:25:54 +08:00
const app = document.querySelector('#app');
const root = app && createRoot(app);
ReactModal.setAppElement('#app');
root?.render(<App />);