Remove checkStatus action

This commit is contained in:
James Greenaway
2019-02-12 17:22:07 +00:00
parent 049285a357
commit 3f14fcc161

View File

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