From 83383888d25e606affc5d96b13749e672690cdeb Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Wed, 10 Aug 2022 01:00:12 -0600 Subject: [PATCH] add onClose function to infoDialog --- web-ui/web-react/src/components/generic/InfoDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web-ui/web-react/src/components/generic/InfoDialog.js b/web-ui/web-react/src/components/generic/InfoDialog.js index e5051ac2..4747ec65 100644 --- a/web-ui/web-react/src/components/generic/InfoDialog.js +++ b/web-ui/web-react/src/components/generic/InfoDialog.js @@ -12,6 +12,7 @@ class InfoDialog extends React.Component { ), } } + onClose = () => this.setState({ openInfoDialog: false }) render() { return (