diff --git a/frontend-v2/src/components/resources/deployment/index.tsx b/frontend-v2/src/components/resources/deployment/index.tsx index 85c77bc63..2bf47ffe1 100644 --- a/frontend-v2/src/components/resources/deployment/index.tsx +++ b/frontend-v2/src/components/resources/deployment/index.tsx @@ -31,7 +31,9 @@ import { } from "./actions"; export const useDeployment = (id?: string) => - useRead("ListDeployments", {}).data?.find((d) => d.id === id); + useRead("ListDeployments", {}, { refetchInterval: 5000 }).data?.find( + (d) => d.id === id + ); const to_bottom = (id: string) => () => document