tangled
alpha
login
or
join now
notnite.com
/
moonlight
3
fork
atom
this repo has no description
3
fork
atom
overview
issues
pulls
pipelines
Fix possible causes in crashScreen
maxine.puppykitty.racing
1 year ago
f7a8ceb8
da6a944f
+2
-2
1 changed file
expand all
collapse all
unified
split
packages
core-extensions
src
moonbase
webpackModules
crashScreen.tsx
+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
142
-
for (const [, id] of state.error.stack.matchAll(MODULE_REGEX))
142
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
145
-
for (const [, id] of state.info.componentStack.matchAll(MODULE_REGEX))
145
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
}, []);