Skip to content

Commit

Permalink
fix: revert key deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoya committed Mar 15, 2024
1 parent dd05327 commit f0e03ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/core/app/[locale]/(default)/cart/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export default async function CartPage({ params: { locale } }: Props) {
? JSON.parse(shippingCostData)
: null;

console.log(shippingCosts);

if (!cartId) {
return <EmptyCart />;
}
Expand Down Expand Up @@ -184,6 +186,7 @@ export default async function CartPage({ params: { locale } }: Props) {
<NextIntlClientProvider locale={locale} messages={{ Cart: messages.Cart ?? {} }}>
<CheckoutSummary
cart={cart}
key={cart.totalExtendedListPrice.value}
shippingCosts={shippingCosts}
shippingCountries={shippingCountries}
/>
Expand Down

0 comments on commit f0e03ee

Please sign in to comment.