Remove checkStatus action
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user