From f282f8e2bb284988b87fe3cc148c8448272f4aa9 Mon Sep 17 00:00:00 2001 From: Shadowbroker <43977454+BigBodyCobain@users.noreply.github.com> Date: Tue, 6 Oct 2026 15:52:18 -0600 Subject: [PATCH] fix(basemap): correct style builder formatting --- frontend/src/components/map/styles/mapStyles.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/map/styles/mapStyles.ts b/frontend/src/components/map/styles/mapStyles.ts index 7ee421d2..56601195 100644 --- a/frontend/src/components/map/styles/mapStyles.ts +++ b/frontend/src/components/map/styles/mapStyles.ts @@ -41,7 +41,10 @@ export function cartoTileUrls(theme: BasemapTheme, cartoApiKey: string): string[ * Use OpenFreeMap by default. CARTO is retained as an opt-in compatibility * path when an operator has already configured CARTO_API_KEY. */ -export function buildBasemapStyle(\n theme: BasemapTheme,\n cartoApiKey?: string | null,\n): string | StyleSpecification { +export function buildBasemapStyle( + theme: BasemapTheme, + cartoApiKey?: string | null, +): string | StyleSpecification { const key = (cartoApiKey || '').trim(); if (!key) return OPENFREEMAP_STYLE_URLS[theme];