refetch list deployments

This commit is contained in:
mbecker20
2023-09-09 04:29:53 -04:00
parent e523ea0cc3
commit 4c647db584

View File

@@ -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