Tweaking app state model.

pull/3/head
Andrew Brogdon 8 years ago
parent 241c956059
commit 70a1e5a9c6

@ -81,7 +81,7 @@ class AppStateModel extends Model {
if (_productsInCart[productId] == 1) {
_productsInCart.remove(productId);
} else {
_productsInCart[productId] -= 1;
_productsInCart[productId]--;
}
}

Loading…
Cancel
Save