Skip to content

Commit

Permalink
fix timeouts (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Barbieri authored Jul 29, 2019
1 parent 1b4340d commit 4437623
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions app/components/Nav/Main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,16 +547,14 @@ class Main extends PureComponent {
this.setState({ paymentChannelRequestCompleted: true });
// hide the modal and reset state
setTimeout(() => {
this.setState({
paymentChannelRequest: false,
paymentChannelRequestLoading: false,
paymentChannelRequestInfo: {}
});
setTimeout(() => {
this.setState({
paymentChannelRequest: false,
paymentChannelRequestLoading: false,
paymentChannelRequestInfo: {}
});
setTimeout(() => {
this.setState({
paymentChannelRequestCompleted: false
});
paymentChannelRequestCompleted: false
});
}, 1500);
}, 800);
Expand Down

0 comments on commit 4437623

Please sign in to comment.