From 5a67eb4b5b176900349befb8034d86847de4d520 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Fri, 30 Aug 2024 16:46:16 +0200 Subject: [PATCH] Fix type error post Tanstack Router upgrade --- frontend/src/routes/devices.$.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/devices.$.tsx b/frontend/src/routes/devices.$.tsx index fec5dd24d..fa16174e9 100644 --- a/frontend/src/routes/devices.$.tsx +++ b/frontend/src/routes/devices.$.tsx @@ -57,7 +57,7 @@ export const Route = createFileRoute("/devices/$")({ const result = await context.client.query( QUERY, { - deviceId: params._splat, + deviceId: params._splat || "", userId: viewer.data.viewer.id, }, { fetchOptions: { signal } },