mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 06:47:44 +01:00
'getApplicationNode' doesn't appear to be required as the modal is already a dialog
This commit is contained in:
parent
bfada7cace
commit
0279daf7bd
1 changed files with 0 additions and 5 deletions
|
@ -32,17 +32,12 @@ export default class Modal extends React.Component {
|
|||
});
|
||||
}
|
||||
|
||||
getApplicationNode() {
|
||||
return document.getElementById('app');
|
||||
}
|
||||
|
||||
render() {
|
||||
if(this.props.isOpen) {
|
||||
return <AriaModal
|
||||
titleText={this.props.title}
|
||||
underlayClickExits={this.props.underlayClickExits}
|
||||
underlayProps={this.props.underlayProps}
|
||||
getApplicationNode={this.getApplicationNode}
|
||||
data-wd-key={this.props["data-wd-key"]}
|
||||
verticallyCenter={true}
|
||||
onExit={this.onClose}
|
||||
|
|
Loading…
Reference in a new issue