Fix next/link should be used with anchor as children #330 (#482)

This commit is contained in:
Vinicius Zucatti
2021-09-23 19:32:17 -03:00
committed by GitHub
parent 381cefae0e
commit c440ff06d4
3 changed files with 27 additions and 19 deletions

View File

@@ -44,7 +44,9 @@ const CheckoutSidebarView: FC = () => {
>
<div className="px-4 sm:px-6 flex-1">
<Link href="/cart">
<Text variant="sectionHeading">Checkout</Text>
<a>
<Text variant="sectionHeading">Checkout</Text>
</a>
</Link>
<PaymentWidget