Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-phan committed Jan 24, 2024
1 parent 759abd3 commit cb0accf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions app/components/product-form/product-media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function ProductMedia(props: ProductMediaProps) {
}, [selectedVariant, media, moveToIdx]);
return (
<div>
<div ref={sliderRef} className="keen-slider">
<div ref={sliderRef} className="keen-slider vt-product-image">
{media.map((med, i) => {
let image =
med.__typename === 'MediaImage'
Expand All @@ -69,7 +69,7 @@ export function ProductMedia(props: ProductMediaProps) {
<div className="keen-slider__slide" key={med.id}>
<Image
data={image}
loading={'lazy'}
loading={i === 0 ? 'eager' : 'lazy'}
aspectRatio={'4/5'}
className="object-cover w-full h-full aspect-square fadeIn"
/>
Expand All @@ -88,7 +88,7 @@ export function ProductMedia(props: ProductMediaProps) {
return (
image && (
<div
key={med.id}
key={med.id}
className={clsx(
'keen-slider__slide border-2 cursor-pointer',
i === activeInd ? 'border-bar/70' : '',
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@shopify/cli-hydrogen": "^6.1.0",
"@shopify/hydrogen": "~2023.10.3",
"@shopify/remix-oxygen": "^2.0.2",
"@weaverse/hydrogen": "^2.9.0",
"@weaverse/hydrogen": "^2.10.1",
"clsx": "2.1.0",
"cross-env": "7.0.3",
"graphql": "16.8.1",
Expand Down

0 comments on commit cb0accf

Please sign in to comment.