diff --git a/assets/js/hooks/Mapper/components/mapInterface/widgets/WSystemKills/hooks/useSystemKills.ts b/assets/js/hooks/Mapper/components/mapInterface/widgets/WSystemKills/hooks/useSystemKills.ts index c6b15275..62c1114b 100644 --- a/assets/js/hooks/Mapper/components/mapInterface/widgets/WSystemKills/hooks/useSystemKills.ts +++ b/assets/js/hooks/Mapper/components/mapInterface/widgets/WSystemKills/hooks/useSystemKills.ts @@ -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) {