From fb7f55391529aec2491da60d3a159502f3b20dcf Mon Sep 17 00:00:00 2001 From: dm1sh Date: Wed, 17 May 2023 10:49:05 +0300 Subject: [PATCH] fixed metro stations in filters --- front/src/components/Filters.jsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/front/src/components/Filters.jsx b/front/src/components/Filters.jsx index 6265334..9b63bd0 100644 --- a/front/src/components/Filters.jsx +++ b/front/src/components/Filters.jsx @@ -27,7 +27,7 @@ function Filters({ filter, setFilter, filterShown, setFilterShown }) { Фильтрация - +
@@ -55,9 +55,11 @@ function Filters({ filter, setFilter, filterShown, setFilterShown }) { - {metros.map( - (metro) => - + {Object.entries(metros).map( + ([branch, stations]) => + stations.map(metro => + + ) )}