Skip to content

Commit

Permalink
fix: latest listings carousel (#2337)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo authored Dec 11, 2024
1 parent 3963ba9 commit 9481cb7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webapp/src/components/HomePage/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
}),
Expand Down Expand Up @@ -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]) {
Expand Down

0 comments on commit 9481cb7

Please sign in to comment.