Skip to content

Commit 39d44dc

Browse files
committed
add default value to cart.checkout_step
1 parent 9c90057 commit 39d44dc

File tree

1 file changed

+1
-1
lines changed
  • src/app/[countryCode]/(main)/cart

1 file changed

+1
-1
lines changed

src/app/[countryCode]/(main)/cart/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const fetchCart = async () => {
3636
cart.items = enrichedItems as LineItem[]
3737
}
3838

39-
cart.checkout_step = cart && getCheckoutStep(cart)
39+
cart.checkout_step = (cart && getCheckoutStep(cart) || "address")
4040

4141
return cart
4242
}

0 commit comments

Comments
 (0)