add onClose function to infoDialog

This commit is contained in:
Eduardo Quiros 2022-08-10 01:00:12 -06:00
parent da332fb887
commit 83383888d2
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ class InfoDialog extends React.Component {
), ),
} }
} }
onClose = () => this.setState({ openInfoDialog: false })
render() { render() {
return ( return (
<Dialog <Dialog