mirror of
https://github.com/logto-io/logto.git
synced 2025-02-03 21:48:55 -05:00
* chore: upgrade configs * refactor: fix lint errors * refactor: fix lint errors * refactor: fix stylelint issues --------- Co-authored-by: Gao Sun <gao@silverhand.io>
11 lines
390 B
TypeScript
11 lines
390 B
TypeScript
/* eslint-disable-next-line import/no-unassigned-import, unicorn/no-unnecessary-polyfills -- polyfill by design */
|
|
import 'core-js/actual';
|
|
import { createRoot } from 'react-dom/client';
|
|
import ReactModal from 'react-modal';
|
|
|
|
import App from './App';
|
|
|
|
const app = document.querySelector('#app');
|
|
const root = app && createRoot(app);
|
|
ReactModal.setAppElement('#app');
|
|
root?.render(<App />);
|