diff --git a/src/state/workloads/actions.ts b/src/state/workloads/actions.ts index 100a10e..ce12ea0 100644 --- a/src/state/workloads/actions.ts +++ b/src/state/workloads/actions.ts @@ -18,11 +18,6 @@ export type Action = { payload: { id: number; }; -} | { - type: 'WORKLOAD_CHECK_STATUS'; - payload: { - id: number; - }; } | { type: 'WORKLOAD_UPDATE_STATUS'; payload: { @@ -55,13 +50,6 @@ export const cancel = ({ id }: { id: number }): Action => ({ }, }); -export const checkStatus = ({ id }: { id: number }): Action => ({ - type: 'WORKLOAD_CHECK_STATUS', - payload: { - id, - }, -}); - export const updateStatus = ({ id, status }: { id: number, status: Status }): Action => ({ type: 'WORKLOAD_UPDATE_STATUS', payload: {