Skip to content

Commit

Permalink
Fix typo in component import name; consolidate import (#3648)
Browse files Browse the repository at this point in the history
Co-authored-by: Lars Roettig <l.roettig@techdivision.com>
Co-authored-by: James Calcaben <jcalcaben@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 26, 2022
1 parent ccd9558 commit 0026c62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/venia-ui/lib/components/Gallery/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import GalleryItemShimmer from './item.shimmer';
import defaultClasses from './item.module.css';
import WishlistGalleryButton from '../Wishlist/AddToListButton';

import AddToCartbutton from '../Gallery/addToCartButton';
import AddToCartButton from './addToCartButton';
// eslint-disable-next-line no-unused-vars
import Rating from '../Rating';

Expand Down Expand Up @@ -58,7 +58,7 @@ const GalleryItem = props => {
) : null;

const addButton = isSupportedProductType ? (
<AddToCartbutton item={item} urlSuffix={productUrlSuffix} />
<AddToCartButton item={item} urlSuffix={productUrlSuffix} />
) : (
<div className={classes.unavailableContainer}>
<Info />
Expand Down

0 comments on commit 0026c62

Please sign in to comment.