mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
refetch list deployments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user