mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
42586eff88
* refactor: remove shared packages * refactor: fix error
9 lines
272 B
TypeScript
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 />);
|