From c0f489728b940a0295f81d16be1e810526de7f91 Mon Sep 17 00:00:00 2001 From: JerryVincent Date: Wed, 8 Oct 2025 15:22:53 +0200 Subject: [PATCH] corrected type error for the devices variable --- app/routes/explore.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/explore.tsx b/app/routes/explore.tsx index a315760e..7ca0b611 100644 --- a/app/routes/explore.tsx +++ b/app/routes/explore.tsx @@ -119,7 +119,7 @@ export async function loader({ request }: LoaderFunctionArgs) { // check if sensors are queried - if not get devices only to reduce load const devices = !urlFilterParams.get("phenomenon") - ? await getDevices() + ? await getDevices("geojson") : await getDevicesWithSensors(); const session = await getUserSession(request);