this repo has no description

Fix possible causes in crashScreen

+2 -2
+2 -2
packages/core-extensions/src/moonbase/webpackModules/crashScreen.tsx
··· 139 139 const causes = React.useMemo(() => { 140 140 const causes = new Set<string>(); 141 141 if (state.error.stack) { 142 - for (const [, id] of state.error.stack.matchAll(MODULE_REGEX)) 142 + for (const [, , id] of state.error.stack.matchAll(MODULE_REGEX)) 143 143 for (const ext of moonlight.patched.get(id) ?? []) causes.add(ext); 144 144 } 145 - for (const [, id] of state.info.componentStack.matchAll(MODULE_REGEX)) 145 + for (const [, , id] of state.info.componentStack.matchAll(MODULE_REGEX)) 146 146 for (const ext of moonlight.patched.get(id) ?? []) causes.add(ext); 147 147 return [...causes]; 148 148 }, []);