Merge pull request #563 from guarzo/guarzo/killsdefense

fix: defensive check for undefined excluded systems
This commit is contained in:
Dmitry Popov
2025-11-27 15:16:52 +04:00
committed by GitHub
@@ -31,7 +31,7 @@ export function useSystemKills({ systemId, outCommand, showAllVisible = false, s
storedSettings: { settingsKills },
} = useMapRootState();
const excludedSystems = useStableValue(settingsKills.excludedSystems);
const excludedSystems = useStableValue(settingsKills.excludedSystems ?? []);
const effectiveSystemIds = useMemo(() => {
if (showAllVisible) {