0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

fix(console): set modal app element

This commit is contained in:
Gao Sun 2022-03-06 15:55:53 +08:00
parent 295314e693
commit c4dace9a51
No known key found for this signature in database
GPG key ID: 13EBE123E4773688

View file

@ -1,7 +1,9 @@
import React from 'react';
import ReactDOM from 'react-dom';
import ReactModal from 'react-modal';
import App from './App';
const app = document.querySelector('#app');
ReactModal.setAppElement('#app');
ReactDOM.render(<App />, app);