From cfbb1625e7873264e2ef435cc76fec2b59cf58d8 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Wed, 24 Dec 2025 19:33:49 +0100 Subject: Refactor map components and improve modal functionality --- src/frontend/app/AppContext.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/frontend/app/AppContext.tsx') diff --git a/src/frontend/app/AppContext.tsx b/src/frontend/app/AppContext.tsx index 8ff7de2..283bc22 100644 --- a/src/frontend/app/AppContext.tsx +++ b/src/frontend/app/AppContext.tsx @@ -1,17 +1,15 @@ /* eslint-disable react-refresh/only-export-components */ import { type ReactNode } from "react"; -import { type RegionId } from "./config/constants"; import { MapProvider, useMap } from "./contexts/MapContext"; import { SettingsProvider, useSettings, type MapPositionMode, - type TableStyle, type Theme, } from "./contexts/SettingsContext"; // Re-export types for compatibility -export type { MapPositionMode, RegionId, TableStyle, Theme }; +export type { MapPositionMode, Theme }; // Combined hook for backward compatibility export const useApp = () => { @@ -21,11 +19,6 @@ export const useApp = () => { return { ...settings, ...map, - // Mock region support for now since we only have one region - region: "vigo" as RegionId, - setRegion: (region: RegionId) => { - console.log("Set region", region); - }, }; }; -- cgit v1.3