Skip to content

Commit 19eeabd

Browse files
committed
fix: update cart loading method to use getCartDetails
1 parent e91a8c6 commit 19eeabd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/peregrine/lib/context

packages/peregrine/lib/context/cart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const CartContextProvider = props => {
2222
const cartId = storage.getItem('cartId');
2323

2424
if (cartId && (!cartState || cartState.cartId !== cartId)) {
25-
asyncActions.loadCart(cartId);
25+
asyncActions.getCartDetails(cartId);
2626
}
2727
}, [])
2828

0 commit comments

Comments
 (0)