diff options
Diffstat (limited to 'src/components/services/content/WebviewCrashHandler.tsx')
-rw-r--r-- | src/components/services/content/WebviewCrashHandler.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/services/content/WebviewCrashHandler.tsx b/src/components/services/content/WebviewCrashHandler.tsx index e9b17e8aa..91c9cf927 100644 --- a/src/components/services/content/WebviewCrashHandler.tsx +++ b/src/components/services/content/WebviewCrashHandler.tsx | |||
@@ -36,7 +36,7 @@ interface IState { | |||
36 | 36 | ||
37 | @observer | 37 | @observer |
38 | class WebviewCrashHandler extends Component<IProps, IState> { | 38 | class WebviewCrashHandler extends Component<IProps, IState> { |
39 | countdownInterval: NodeJS.Timer | undefined; | 39 | countdownInterval: NodeJS.Timeout | undefined; |
40 | 40 | ||
41 | countdownIntervalTimeout = ms('1s'); | 41 | countdownIntervalTimeout = ms('1s'); |
42 | 42 | ||
@@ -58,7 +58,7 @@ class WebviewCrashHandler extends Component<IProps, IState> { | |||
58 | 58 | ||
59 | if (this.state.countdown <= 0) { | 59 | if (this.state.countdown <= 0) { |
60 | reload(); | 60 | reload(); |
61 | clearInterval(this.countdownInterval!); | 61 | clearInterval(this.countdownInterval); |
62 | } | 62 | } |
63 | }, this.countdownIntervalTimeout); | 63 | }, this.countdownIntervalTimeout); |
64 | } | 64 | } |