From 927f912eb353ecb347b8cfd6ecad3c49651039c1 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Wed, 21 Aug 2024 14:40:42 -0400 Subject: [PATCH] lint --- frontend/src/utils/errors.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/utils/errors.ts b/frontend/src/utils/errors.ts index f77a5e08..da19f810 100644 --- a/frontend/src/utils/errors.ts +++ b/frontend/src/utils/errors.ts @@ -23,7 +23,9 @@ export function getLikelyErrorSourceFromValveError(error: ValveError): ErrorSour export function getLikelyErrorSourceFromValveReactError(error: ValveReactErrorInfo): ErrorSource { // get the first 10 lines of the componentStack to avoid matching against the decky router wrapper for any route errors deeper in the tree - return getLikelyErrorSource(error?.error?.stack + '\n' + error.info.componentStack?.split("\n").slice(0, 8).join("\n")); + return getLikelyErrorSource( + error?.error?.stack + '\n' + error.info.componentStack?.split('\n').slice(0, 8).join('\n'), + ); } export function getLikelyErrorSource(error?: string): ErrorSource {