From 0cfb41755a3cf5bc39cd65e45e02418c245fa793 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Thu, 27 Jun 2024 00:21:32 -0400 Subject: lint --- frontend/src/errorboundary-hook.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'frontend/src/errorboundary-hook.tsx') diff --git a/frontend/src/errorboundary-hook.tsx b/frontend/src/errorboundary-hook.tsx index f7aadcbd..9a603460 100644 --- a/frontend/src/errorboundary-hook.tsx +++ b/frontend/src/errorboundary-hook.tsx @@ -56,7 +56,7 @@ class ErrorBoundaryHook extends Logger { shouldReport, skipAllReporting: this.doNotReportErrors || this.disableReportingTimer, }); - if (!shouldReport) this.temporarilyDisableReporting(); + if (!shouldReport) this.temporarilyDisableReporting(); // react#15069 workaround. this took 2 hours to figure out. if ( args[0]?.message?.[3]?.[0] && @@ -95,14 +95,14 @@ class ErrorBoundaryHook extends Logger { } public temporarilyDisableReporting() { - this.debug("Reporting disabled for 30s due to a non-steam error."); + this.debug('Reporting disabled for 30s due to a non-steam error.'); if (this.disableReportingTimer) { clearTimeout(this.disableReportingTimer); } this.disableReportingTimer = setTimeout(() => { - this.debug("Reporting re-enabled after 30s timeout."); + this.debug('Reporting re-enabled after 30s timeout.'); this.disableReportingTimer = 0; - }, 30000) + }, 30000); } deinit() { -- cgit v1.2.3