Merge branch 'master' into single-branch

This commit is contained in:
B 2021-03-25 14:31:09 -03:00 committed by GitHub
commit 2c30dff47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 11 deletions

View File

@ -92,8 +92,10 @@ const CartItem = ({
})} })}
{...rest} {...rest}
> >
<div className="w-16 h-16 bg-violet relative overflow-hidden"> <div className="w-16 h-16 bg-violet relative overflow-hidden cursor-pointer">
<Link href={`/product/${item.path}`}>
<Image <Image
onClick={() => closeSidebarIfPresent()}
className={s.productImage} className={s.productImage}
width={150} width={150}
height={150} height={150}
@ -101,6 +103,7 @@ const CartItem = ({
alt={item.variant.image!.altText} alt={item.variant.image!.altText}
unoptimized unoptimized
/> />
</Link>
</div> </div>
<div className="flex-1 flex flex-col text-base"> <div className="flex-1 flex flex-col text-base">
<Link href={`/product/${item.path}`}> <Link href={`/product/${item.path}`}>

View File

@ -27,8 +27,8 @@ Collection of hooks and data fetching functions to integrate Shopify in a React
1. Install dependencies: 1. Install dependencies:
``` ```
yarn install shopify-buy yarn add shopify-buy
yarn install -D @types/shopify-buy yarn add @types/shopify-buy
``` ```
3. Environment variables need to be set: 3. Environment variables need to be set: