Skip to content

Commit

Permalink
Update packages/peregrine/lib/context/cart.js
Browse files Browse the repository at this point in the history
Co-authored-by: Revanth Kumar Annavarapu <[email protected]>
  • Loading branch information
sirugh and revanth0212 committed Jul 23, 2020
1 parent 4abbfa9 commit 4ce9f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/peregrine/lib/context/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const CartContextProvider = props => {
const fetchCartDetails = useAwaitQuery(CART_DETAILS_QUERY);

useEffect(() => {
// This call initializes the cart if there isn't one. Also, we pass
// cartApi.getCartDetails initializes the cart if there isn't one. Also, we pass
// apolloClient to wipe the store in event of auth token expiry which
// will only happen if the user refreshes.
cartApi.getCartDetails({
Expand Down

0 comments on commit 4ce9f01

Please sign in to comment.