Valentin D. Pinkman
6 years ago
No known key found for this signature in database
GPG Key ID: E7D110669FFB8D3E
1 changed files with
2 additions and
0 deletions
-
src/components/SettingsPage/RepairDeviceButton.js
|
|
@ -42,9 +42,11 @@ class RepairDeviceButton extends PureComponent<Props, State> { |
|
|
|
open = () => this.setState({ opened: true, error: null }) |
|
|
|
|
|
|
|
sub: * |
|
|
|
timeout: * |
|
|
|
|
|
|
|
close = () => { |
|
|
|
if (this.sub) this.sub.unsubscribe() |
|
|
|
if (this.timeout) clearTimeout(this.timeout) |
|
|
|
this.setState({ opened: false, isLoading: false, error: null, progress: 0 }) |
|
|
|
} |
|
|
|
|
|
|
|