mirror of
https://github.com/logto-io/logto.git
synced 2025-01-27 21:39:16 -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 React from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
|
import ReactModal from 'react-modal';
|
||||||
|
|
||||||
import App from './App';
|
import App from './App';
|
||||||
|
|
||||||
const app = document.querySelector('#app');
|
const app = document.querySelector('#app');
|
||||||
|
ReactModal.setAppElement('#app');
|
||||||
ReactDOM.render(<App />, app);
|
ReactDOM.render(<App />, app);
|
||||||
|
|
Loading…
Add table
Reference in a new issue