From 843cfb208849d652da16e943247057cf5a251254 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Thu, 25 Dec 2025 02:10:25 +0100 Subject: Fix shit with map --- src/frontend/app/routes/map.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/frontend/app/routes') diff --git a/src/frontend/app/routes/map.tsx b/src/frontend/app/routes/map.tsx index 45dd935..a8c74b4 100644 --- a/src/frontend/app/routes/map.tsx +++ b/src/frontend/app/routes/map.tsx @@ -1,7 +1,7 @@ import StopDataProvider from "../data/StopDataProvider"; import "./map.css"; -import { useEffect, useRef, useState } from "react"; +import { useRef, useState } from "react"; import { useTranslation } from "react-i18next"; import { Layer, @@ -10,16 +10,14 @@ import { type MapRef, } from "react-map-gl/maplibre"; import { useNavigate } from "react-router"; -import { PlannerOverlay } from "~/components/PlannerOverlay"; -import { AppMap } from "~/components/shared/AppMap"; import { StopSummarySheet, type StopSheetProps, } from "~/components/map/StopSummarySheet"; -import { APP_CONSTANTS } from "~/config/constants"; +import { PlannerOverlay } from "~/components/PlannerOverlay"; +import { AppMap } from "~/components/shared/AppMap"; import { usePageTitle } from "~/contexts/PageTitleContext"; import { usePlanner } from "~/hooks/usePlanner"; -import { useApp } from "../AppContext"; import "../tailwind-full.css"; // Componente principal del mapa @@ -142,7 +140,7 @@ export default function StopMap() { "stop-renfe", "feve", "stop-feve", - "#stop-generic", + "stop-generic", ], "icon-size": [ "interpolate", -- cgit v1.3