export const ActionType = {
    INCREMENT: 'INCREMENT',
    DECREMENT: 'DECREMENT'
};

export function incrementAsync() {
    return (dispatch) => {
        return new Promise((resolve, reject) => {
            setTimeout(() => {
                dispatch(increment());
            }, 1000);
        });
    }
}

export function increment() {
    return {
        type: ActionType.INCREMENT
    };
}

export function decrement() {
    return {
        type: ActionType.DECREMENT
    };
}

@@ -146,62 +146,8 @@
 %3E %7B%0A
-        return new Promise((resolve, reject) =%3E %7B%0A    
     
@@ -181,20 +181,16 @@
         
-  
-  
 dispatch
@@ -212,20 +212,16 @@
         
-    
 %7D, 1000)
@@ -226,20 +226,8 @@
 0);%0A
-        %7D);%0A
     

Improve async action by removing promise