title: redux saga deleting functionality
body: <p>I am working on React/Redux application, I have to delete user address, I am using redux saga as a middleware, the functionality is working fine, but the issue is after deleting address the request is not entering <strong>deleteAddressByBuyerIdAddressIdSuccess(in saga.js file)</strong>, it is entering only <strong>deleteAddressByBuyerIdAddressId</strong> and <strong>deleteAddressByBuyerIdAddressIdFailure</strong>(have checked in redux developer tools), can any one help me to sort out this issue, </p>
  
  <p>My all functionality and screenshot of redux developer tools is given below</p>
  
  <p>Action File</p>
  
  <pre><code>/* Delete an address for a buyer */
  const deleteAddressByBuyerIdAddressId =
      (buyerId: string, addressId: string, address: Object, params: string) =&gt; ({
          type: Types.DELETE_ADDRESS_BY_BUYER_ID_ADDRESS_ID,
          buyerId,
          addressId,
          address,
          params,
      });
  
  const deleteAddressByBuyerIdAddressIdSuccess =
      (buyerId: string, addressId: string, address: Object, params: string) =&gt; ({
          type: Types.DELETE_ADDRESS_BY_BUYER_ID_ADDRESS_ID_SUCCESS,
          buyerId,
          addressId,
          address,
          params,
      });
  
  const deleteAddressByBuyerIdAddressIdFailure =
      (errorMessage: Object) =&gt; ({
          type: Types.DELETE_ADDRESS_BY_BUYER_ID_ADDRESS_ID_FAILURE,
          errorMessage,
      });
  </code></pre>
  
  <hr>
  
  <p>Saga file</p>
  
  <pre><code>/* Delete Buyers address */
  function* deleteAddressByBuyerIdAddressId(action) {
      try {
          const response = yield call(
            api.account.deleteAddressByBuyerIdAddressId,
            action.buyerId,
            action.addressId,
            action.address,
            action.params
          );
          if (response.ok &amp;&amp; response.data  &amp;&amp; {}.hasOwnProperty.call(response.data, 'data')) {
              yield put(
            Actions.deleteAddressByBuyerIdAddressIdSuccess(
                action.buyerId,
                action.addressId,
                response.data,
                action.address,
                action.params
            )
        );
          } else {
              yield put(Actions.deleteAddressByBuyerIdAddressIdFailure(response.errorMessage));
          }
      } catch (error) {
          yield put(Actions.deleteAddressByBuyerIdAddressIdFailure(error));
      }
  }
  function* watchDeleteAddressByBuyerIdAddressId(): Generator&lt;void, void, void&gt; {
      yield takeLatest(Types.DELETE_ADDRESS_BY_BUYER_ID_ADDRESS_ID, deleteAddressByBuyerIdAddressId);
  }
  </code></pre>
  
  <hr>
  
  <p>Reducers</p>
  
  <pre><code>export const deleteAddressByBuyerIdAddressId = (state: Object = INITIAL_STATE) =&gt; ({
      ...state,
      isLoading: true,
      successMessage: null,
      errorMessage: null,
  });
  
  export const deleteAddressByBuyerIdAddressIdSuccess = (state: Object = INITIAL_STATE, action: Object) =&gt; {
       const successMessage = I18n.getText('account.address-deleted', {}, 'Address deleted!');
       return {
          ...state,
          address: action.address,
          successMessage: successMessage,
        }
  };
  
  export const deleteAddressByBuyerIdAddressIdFailure = (state: Object = INITIAL_STATE, action: Object) =&gt; ({
      ...state,
      errorMessage: action.errorMessage,
      isLoading: false,
  });
  </code></pre>
  
  <hr>
  
  <p>redux developer tools view</p>
  
  <p><a href="https://i.stack.imgur.com/MLFoD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MLFoD.png" alt="enter image description here"></a></p>
  
  <hr>