summaryrefslogtreecommitdiff
path: root/frontend/src/errorboundary-hook.tsx
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2026-11-21 21:45:27 -0500
committerAAGaming <aagaming@riseup.net>2026-11-21 21:45:27 -0500
commita2bdcbeb01eb7bf315fb0d89e919934a927921ab (patch)
treef72bd5ab6abe22a30262b55ea81fa07efcb58e9e /frontend/src/errorboundary-hook.tsx
parentfc0355f55d8d36826466fc304d6ecb254d4b7ca1 (diff)
downloaddecky-loader-a2bdcbeb01eb7bf315fb0d89e919934a927921ab.tar.gz
decky-loader-a2bdcbeb01eb7bf315fb0d89e919934a927921ab.zip
feat(vr): add frame stuff (ALPHA)
Diffstat (limited to 'frontend/src/errorboundary-hook.tsx')
-rw-r--r--frontend/src/errorboundary-hook.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend/src/errorboundary-hook.tsx b/frontend/src/errorboundary-hook.tsx
index 2bbecc58..0c98c6ff 100644
--- a/frontend/src/errorboundary-hook.tsx
+++ b/frontend/src/errorboundary-hook.tsx
@@ -26,7 +26,10 @@ class ErrorBoundaryHook extends Logger {
// valve writes only the sanest of code
const exp = /^\(\)=>\([\w$]+\|\|(?:[\w$]+\(|\([\w$]+=)new [\w$]+\),[\w$]+\)$/;
const initErrorReportingStore = findModuleExport(
- (e) => typeof e == 'function' && e?.toString && (exp.test(e.toString()) || e.toString() == "()=>(store||=new CErrorReportingStore,store)"),
+ (e) =>
+ typeof e == 'function' &&
+ e?.toString &&
+ (exp.test(e.toString()) || e.toString() == '()=>(store||=new CErrorReportingStore,store)'),
);
if (!initErrorReportingStore) {