From ee77f38cdb324cbcf12518490df77fc9e6b89282 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 22:52:02 +0000 Subject: Improve gallery scroll indicators and format code Co-authored-by: arielcostas <94913521+arielcostas@users.noreply.github.com> --- src/frontend/app/AppContext.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/frontend/app/AppContext.tsx') diff --git a/src/frontend/app/AppContext.tsx b/src/frontend/app/AppContext.tsx index 8f47a49..b986880 100644 --- a/src/frontend/app/AppContext.tsx +++ b/src/frontend/app/AppContext.tsx @@ -7,7 +7,13 @@ import { type ReactNode, } from "react"; import { type LngLatLike } from "maplibre-gl"; -import { type RegionId, DEFAULT_REGION, getRegionConfig, isValidRegion, REGIONS } from "./data/RegionConfig"; +import { + type RegionId, + DEFAULT_REGION, + getRegionConfig, + isValidRegion, + REGIONS, +} from "./data/RegionConfig"; export type Theme = "light" | "dark" | "system"; type TableStyle = "regular" | "grouped"; @@ -62,7 +68,11 @@ export const AppProvider = ({ children }: { children: ReactNode }) => { const [theme, setTheme] = useState(() => { const savedTheme = localStorage.getItem("theme"); - if (savedTheme === "light" || savedTheme === "dark" || savedTheme === "system") { + if ( + savedTheme === "light" || + savedTheme === "dark" || + savedTheme === "system" + ) { return savedTheme; } return "system"; -- cgit v1.3