Skip to content

Commit

Permalink
Fix categoryTile.js - item is not defined error (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-martinez-interactiv4 authored and jimbo committed Nov 19, 2018
1 parent fd9b590 commit 408be99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class CategoryTile extends Component {
const { image, productImagePreview } = this.props.item;
const previewProduct = productImagePreview.items[0];
if (image) {
return makeCategoryMediaPath(item.image);
return makeCategoryMediaPath(image);
} else if (previewProduct) {
return makeProductMediaPath(previewProduct.small_image);
}
Expand Down

1 comment on commit 408be99

@vercel
Copy link

@vercel vercel bot commented on 408be99 Nov 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully aliased the URL https://magento-venia-ekcmhevrcl.now.sh to the following alias.

Please sign in to comment.