mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 08:35:25 +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() {
|
render() {
|
||||||
if(this.props.isOpen) {
|
if(this.props.isOpen) {
|
||||||
return <AriaModal
|
return <AriaModal
|
||||||
titleText={this.props.title}
|
titleText={this.props.title}
|
||||||
underlayClickExits={this.props.underlayClickExits}
|
underlayClickExits={this.props.underlayClickExits}
|
||||||
underlayProps={this.props.underlayProps}
|
underlayProps={this.props.underlayProps}
|
||||||
getApplicationNode={this.getApplicationNode}
|
|
||||||
data-wd-key={this.props["data-wd-key"]}
|
data-wd-key={this.props["data-wd-key"]}
|
||||||
verticallyCenter={true}
|
verticallyCenter={true}
|
||||||
onExit={this.onClose}
|
onExit={this.onClose}
|
||||||
|
|
Loading…
Reference in a new issue