Skip to content

Commit

Permalink
one minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
idalithb committed Oct 25, 2024
1 parent 87f2bb8 commit 344904b
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions website/pages/en/cookbook/enums.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,7 @@ export function getMarketplaceName(marketplace: Marketplace): string {
return 'SeaPort' // If the marketplace is SeaPort, return its string representation
} else if (marketplace === Marketplace.LooksRare) {
return 'LooksRare' // If the marketplace is LooksRare, return its string representation
} else if (marketplace === Marketplace.OxProtocol) {
return 'OxProtocol' // If the marketplace is OxProtocol, return its string representation
} else if (marketplace === Marketplace.OxProtocolV2) {
return 'OxProtocolV2' // If the marketplace is OxProtocolV2, return its string representation
} else if (marketplace === Marketplace.Blur) {
return 'Blur' // If the marketplace is Blur, return its string representation
} else if (marketplace === Marketplace.Rarible) {
return 'Rarible' // If the marketplace is Rarible, return its string representation
} else if (marketplace === Marketplace.X2Y2) {
return 'X2Y2' // If the marketplace is X2Y2, return its string representation
} else if (marketplace === Marketplace.NFTX) {
return 'NFTX' // If the marketplace is NFTX, return its string representation
} else if (marketplace === Marketplace.GenieSwap) {
return 'GenieSwap' // If the marketplace is GenieSwap, return its string representation
} else if (marketplace === Marketplace.CryptoCoven) {
return 'CryptoCoven' // If the marketplace is CryptoCoven, return its string representation
} else {
return 'Unknown' // If the marketplace doesn't match any known values, return "Unknown"
// ... and other market places
}
}
```
Expand Down

0 comments on commit 344904b

Please sign in to comment.