Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/xJkit/react-goodbye
Browse files Browse the repository at this point in the history
  • Loading branch information
xJkit committed Jul 11, 2018
2 parents 6575ba4 + 966448c commit 406b99d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/GoodByeProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ class Provider extends React.Component {
};

handleOk = () => {
this.pass(true);
this.setState({ isShow: false });
this.pass(true);
};

handleCancel = () => {
this.pass(false);
this.setState({ isShow: false });
this.pass(false);
};

handlePass = bool => {
this.pass(bool);
this.setState({ isShow: false });
}
this.pass(bool);
};

render() {
const { children } = this.props;
Expand Down

0 comments on commit 406b99d

Please sign in to comment.