From a081aa63d69844fe31ea0b444cdf4ff14fff6a64 Mon Sep 17 00:00:00 2001 From: Blake Gentry Date: Mon, 16 Sep 2024 15:36:12 -0500 Subject: [PATCH] typescript fixes for tanstack updates --- src/components/WorkflowDetail.tsx | 1 + src/routes/jobs/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/WorkflowDetail.tsx b/src/components/WorkflowDetail.tsx index 9edb7b5..2cf9de9 100644 --- a/src/components/WorkflowDetail.tsx +++ b/src/components/WorkflowDetail.tsx @@ -217,6 +217,7 @@ const DependencyItem = ({ return ( diff --git a/src/routes/jobs/index.tsx b/src/routes/jobs/index.tsx index 5e0ac40..b08fbec 100644 --- a/src/routes/jobs/index.tsx +++ b/src/routes/jobs/index.tsx @@ -46,6 +46,7 @@ export const Route = createFileRoute("/jobs/")({ beforeLoad: async ({ context, search }) => { if (!search.state) { throw redirect({ + from: Route.fullPath, replace: true, search: { state: JobState.Running,