Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit baac6c5

Browse files
committed
Fix type error post Tanstack Router upgrade
1 parent ee599f8 commit baac6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/routes/devices.$.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const Route = createFileRoute("/devices/$")({
5757
const result = await context.client.query(
5858
QUERY,
5959
{
60-
deviceId: params._splat,
60+
deviceId: params._splat || "",
6161
userId: viewer.data.viewer.id,
6262
},
6363
{ fetchOptions: { signal } },

0 commit comments

Comments
 (0)