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

This commit is contained in:
Vinicius Zucatti
2021-09-12 19:28:57 -03:00
parent 61d075daf1
commit 751142930e
3 changed files with 27 additions and 19 deletions

View File

@@ -35,7 +35,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 onClick={() => setSidebarView('PAYMENT_VIEW')} />