fixed metro stations in filters

This commit is contained in:
Dmitriy Shishkov 2023-05-17 10:49:05 +03:00
parent 8af5bd36d9
commit fb7f553915
Signed by: dm1sh
GPG Key ID: 027994B0AA357688

View File

@ -55,9 +55,11 @@ function Filters({ filter, setFilter, filterShown, setFilterShown }) {
<option value="">
Выберите станцию метро
</option>
{metros.map(
(metro) =>
<option key={metro} value={metro}>{metro}</option>
{Object.entries(metros).map(
([branch, stations]) =>
stations.map(metro =>
<option key={metro} value={metro}>{metro}</option>
)
)}
</Form.Select>
</Form.Group>