Skip to content

Commit

Permalink
fixing build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
artemis-prime committed Jun 6, 2024
1 parent 352238b commit 39d420f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions packages/commerce/components/buy/carousel-buy-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const CarouselBuyCard: React.FC<{
clx?: string
selectorClx?: string
addBtnClx?: string
buttonsAreaClx?: string
mobile?: boolean
onQuantityChanged?: (sku: string, oldV: number, newV: number) => void
}> = ({
Expand All @@ -63,6 +64,7 @@ const CarouselBuyCard: React.FC<{
clx='',
selectorClx='',
addBtnClx='',
buttonsAreaClx='',
mobile=false,
onQuantityChanged,
}) => {
Expand Down Expand Up @@ -233,8 +235,8 @@ const CarouselBuyCard: React.FC<{
/>
))}
<Buttons clx={cn(
'self-stretch mt-8 flex flex-col items-center gap-3',
(r.current?.single?.scrollable ? 'shrink-0' : '')
'self-stretch mt-8 flex flex-col items-center gap-3 shrink-0 grow-0',
buttonsAreaClx
)}/>
</div >
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,10 @@ const AllVariantsCarousel: React.FC<MultiFamilySelectorProps> = ({
</>)}
</Carousel>
)}
<ItemInfo labelClx='!text-base font-medium'/>
<Swatches clx='mt-2'/>
<div className='flex flex-col items-center justify-start'>
<ItemInfo labelClx='!text-base font-medium'/>
<Swatches clx='mt-2'/>
</div>
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/commerce/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hanzo/commerce",
"version": "7.1.3",
"version": "7.1.4",
"description": "e-commerce framework.",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
Expand Down

0 comments on commit 39d420f

Please sign in to comment.