add onClose function to infoDialog
This commit is contained in:
parent
da332fb887
commit
83383888d2
|
@ -12,6 +12,7 @@ class InfoDialog extends React.Component {
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
onClose = () => this.setState({ openInfoDialog: false })
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Dialog
|
<Dialog
|
||||||
|
|
Loading…
Reference in New Issue