@daffodil/cart 0.39.3 → 0.39.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1105,6 +1105,8 @@
1105
1105
  case exports.DaffCartItemActionTypes.CartItemUpdateAction:
1106
1106
  case exports.DaffCartItemActionTypes.CartItemDeleteAction:
1107
1107
  return adapter.upsertOne(Object.assign(Object.assign({}, state.entities[action.itemId]), { daffState: exports.DaffCartItemStateEnum.Mutating }), state);
1108
+ case exports.DaffCartActionTypes.CartCreateSuccessAction:
1109
+ return adapter.removeAll(state);
1108
1110
  default:
1109
1111
  return state;
1110
1112
  }