Skip to content

Commit 406b99d

Browse files
committed
Merge branch 'master' of https://github.com/xJkit/react-goodbye
2 parents 6575ba4 + 966448c commit 406b99d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/GoodByeProvider.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ class Provider extends React.Component {
2727
};
2828

2929
handleOk = () => {
30-
this.pass(true);
3130
this.setState({ isShow: false });
31+
this.pass(true);
3232
};
3333

3434
handleCancel = () => {
35-
this.pass(false);
3635
this.setState({ isShow: false });
36+
this.pass(false);
3737
};
3838

3939
handlePass = bool => {
40-
this.pass(bool);
4140
this.setState({ isShow: false });
42-
}
41+
this.pass(bool);
42+
};
4343

4444
render() {
4545
const { children } = this.props;

0 commit comments

Comments
 (0)