From 9481cb7b6e813d8757978ea0eb0fff4ef490e8e3 Mon Sep 17 00:00:00 2001 From: Juanma Hidalgo Date: Wed, 11 Dec 2024 13:43:54 +0100 Subject: [PATCH] fix: latest listings carousel (#2337) --- webapp/src/components/HomePage/HomePage.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webapp/src/components/HomePage/HomePage.tsx b/webapp/src/components/HomePage/HomePage.tsx index bc0d1c319e..3365a63a6f 100644 --- a/webapp/src/components/HomePage/HomePage.tsx +++ b/webapp/src/components/HomePage/HomePage.tsx @@ -60,7 +60,7 @@ const HomePage = (props: Props) => { [View.HOME_TRENDING_ITEMS]: AssetType.ITEM, [View.HOME_NEW_ITEMS]: AssetType.ITEM, [View.HOME_SOLD_ITEMS]: AssetType.ITEM, - [View.HOME_WEARABLES]: AssetType.ITEM, + [View.HOME_WEARABLES]: AssetType.NFT, [View.HOME_LAND]: AssetType.NFT, [View.HOME_ENS]: AssetType.NFT }), @@ -104,7 +104,8 @@ const HomePage = (props: Props) => { } } else { trackMessage = `View all ${section} section` - browseOptions = { section, assetType, sortBy } + // for the Home Wearables (Latest Listings) even though the section is WEARABLES, the assetType is ITEM for the browse section + browseOptions = { section, assetType: View.HOME_WEARABLES ? AssetType.ITEM : assetType, sortBy } } if (status[view]) {