aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/routes/map.tsx
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-25 02:10:25 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-25 02:10:25 +0100
commit843cfb208849d652da16e943247057cf5a251254 (patch)
treefc082f90ec7872c293aca5f9dc2dc998ff66d69d /src/frontend/app/routes/map.tsx
parent800fd816132c38617b2cc16f4eecf95f38d09841 (diff)
Fix shit with map
Diffstat (limited to 'src/frontend/app/routes/map.tsx')
-rw-r--r--src/frontend/app/routes/map.tsx10
1 files changed, 4 insertions, 6 deletions
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",