Skip to content

Commit

Permalink
cmmc: no slider if only one item
Browse files Browse the repository at this point in the history
  • Loading branch information
artemis-prime committed Jun 23, 2024
1 parent 30a749b commit 2cbfb27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const CarouselItemSelector: React.FC<ItemSelectorProps> = observer(({
</div>
{showByline && itemRef.item.byline && (<p>{itemRef.item.byline}</p>)}
</ApplyTypography>
{showSlider && (
{showSlider && items.length > 1 && (
<ItemCarouselSlider
clx='mt-5 w-[320px]'
numStops={items.length}
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.3.0",
"version": "7.3.1",
"description": "e-commerce framework.",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
Expand Down

0 comments on commit 2cbfb27

Please sign in to comment.