Skip to content

Commit 829659e

Browse files
authored
corrected type error for the devices variable (#621)
1 parent 42b1b88 commit 829659e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/explore.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
119119

120120
// check if sensors are queried - if not get devices only to reduce load
121121
const devices = !urlFilterParams.get("phenomenon")
122-
? await getDevices()
122+
? await getDevices("geojson")
123123
: await getDevicesWithSensors();
124124

125125
const session = await getUserSession(request);

0 commit comments

Comments
 (0)