import { IndexWorld } from "./index-world"; import * as styles from "./index-world-container.css"; import type { MetagameWorld } from "../utils/metagame"; import type { PopulationWorld } from "../utils/population"; export const WorldContainer = ({ metagame, population, }: { metagame: MetagameWorld[]; population: PopulationWorld[]; }) => (
{metagame.map((world) => ( p.id === world.id) as PopulationWorld } /> ))}
);