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

10 lines
272 B
TypeScript
Raw Normal View History

import { createRoot } from 'react-dom/client';
2022-05-29 08:11:58 -05:00
// eslint-disable-next-line import/no-unassigned-import
import '@logto/core-kit/declaration';
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 />);