summaryrefslogtreecommitdiff
path: root/frontend/src/errorboundary-hook.tsx
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2026-06-05 21:54:13 -0400
committerAAGaming <aagaming@riseup.net>2026-06-05 21:54:13 -0400
commit24823febf8aa94f7229b6d602f3dab9f7fb721c8 (patch)
treee9d8ad3b32c7ff39b43fd5dd734d35f88a98cf7d /frontend/src/errorboundary-hook.tsx
parent9f58dc64a12911ae2b53c1d66830f5d107d4f905 (diff)
downloaddecky-loader-aa/fix-beta-june2026.tar.gz
decky-loader-aa/fix-beta-june2026.zip
fixes for june 2026 beta errorboundaryaa/fix-beta-june2026
Diffstat (limited to 'frontend/src/errorboundary-hook.tsx')
-rw-r--r--frontend/src/errorboundary-hook.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/errorboundary-hook.tsx b/frontend/src/errorboundary-hook.tsx
index 2c69a267..70aa2188 100644
--- a/frontend/src/errorboundary-hook.tsx
+++ b/frontend/src/errorboundary-hook.tsx
@@ -24,7 +24,7 @@ class ErrorBoundaryHook extends Logger {
window.__ERRORBOUNDARY_HOOK_INSTANCE = this;
// valve writes only the sanest of code
- const exp = /^\(\)=>\(.\|\|.\(new .\),.\)$/;
+ const exp = /^\(\)=>\(.\|\|(?:.\(|\(.=)new .\),.\)$/;
const initErrorReportingStore = findModuleExport(
(e) => typeof e == 'function' && e?.toString && exp.test(e.toString()),
);