fix crash on tapping background

This commit is contained in:
ammarahm-ed
2020-12-07 11:00:10 +05:00
parent 4c725cd15d
commit 9b770165ee

View File

@@ -49,7 +49,7 @@ export class AddTopicDialog extends React.Component {
visible: true, visible: true,
}); });
} }
close() { close = () => {
this.title = null; this.title = null;
this.setState({ this.setState({
visible: false, visible: false,