diff --git a/src/plugins/betterSettings/index.tsx b/src/plugins/betterSettings/index.tsx index 5657b9809..39a57445a 100644 --- a/src/plugins/betterSettings/index.tsx +++ b/src/plugins/betterSettings/index.tsx @@ -134,7 +134,7 @@ export default definePlugin({ // not in children Layer(props: LayerProps) { try { - if (FocusLock === NoopComponent || FocusLock[proxyInnerValue] == null || ComponentDispatch[proxyInnerValue] == null) + if (FocusLock === NoopComponent || ComponentDispatch[proxyInnerValue] == null) throw new Error("Failed to fetch some webpack modules"); return Layer(props);