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
Gao Sun 42586eff88
refactor: remove shared packages (#1946)
* refactor: remove shared packages

* refactor: fix error
2022-09-16 11:25:43 +00:00

9 lines
272 B
TypeScript

import { createRoot } from 'react-dom/client';
// eslint-disable-next-line import/no-unassigned-import
import '@logto/core-kit/declaration';
import App from './App';
const app = document.querySelector('#app');
const root = app && createRoot(app);
root?.render(<App />);