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:
parent
295314e693
commit
c4dace9a51
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue