From 3f14fcc1618ff5885772e53d8245590e589e7851 Mon Sep 17 00:00:00 2001 From: James Greenaway Date: Tue, 12 Feb 2019 17:22:07 +0000 Subject: [PATCH] Remove checkStatus action --- src/state/workloads/actions.ts | 12 ------------ 1 file changed, 12 deletions(-) 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: {