Handle to front line events in the new UI.

This commit is contained in:
Dan Albert
2022-03-04 00:37:31 -08:00
parent 34111cfc67
commit cba39df5da
4 changed files with 44 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ export default function SupplyRoutesLayer() {
const fronts = useAppSelector(selectFrontLines).fronts;
return (
<LayerGroup>
{fronts.map((front, idx) => {
{Object.values(fronts).map((front, idx) => {
return <FrontLine key={idx} front={front} />;
})}
</LayerGroup>