File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
typescript-packages/client/src/hooks Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ class ErrorBoundaryHook extends Logger {
98
98
if ( this . disableReportingTimer ) {
99
99
clearTimeout ( this . disableReportingTimer ) ;
100
100
}
101
- this . disableReportingTimer = setTimeout ( ( ) => {
101
+ this . disableReportingTimer = window . setTimeout ( ( ) => {
102
102
this . debug ( 'Reporting re-enabled after 30s timeout.' ) ;
103
103
this . disableReportingTimer = 0 ;
104
104
} , 30000 ) ;
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ class Toaster extends Logger {
131
131
} ,
132
132
} ;
133
133
if ( toast . expiration ) {
134
- expirationTimeout = setTimeout ( ( ) => {
134
+ expirationTimeout = window . setTimeout ( ( ) => {
135
135
self . debug ( 'Dismissing expired toast' , toast ) ;
136
136
try {
137
137
group && window . NotificationStore . RemoveGroupFromTray ( group ) ;
You can’t perform that action at this time.
0 commit comments