export function cleanVisitedZones(data) { const rawZones = data?.visited_zones || []; // TODO: store all the zones that exist in SkyBlock, add add those to the array with visited being false const zones = []; for (const rawZoneName of rawZones) { zones.push({ name: rawZoneName, visited: true }); } return zones; }