diff --git a/index.js b/index.js index 2027947..bedf4c2 100644 --- a/index.js +++ b/index.js @@ -35,7 +35,7 @@ class DialogInput extends React.Component{ this.state = { inputModal: '' }; }}> - { this.props.closeDialog(); this.setState({ openning: true })}} > + { this.props.closeDialog(); this.setState({ openning: true, inputModal:'' })}} > {title} @@ -58,7 +58,7 @@ class DialogInput extends React.Component{ { this.props.closeDialog(); - this.setState({ openning: true }) + this.setState({ openning: true, inputModal:'' }) }}> {cancelText}