From 344904bea8dde4c88d78db46350a528a7fb3eb05 Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Fri, 25 Oct 2024 10:10:06 -0700 Subject: [PATCH] one minor edit --- website/pages/en/cookbook/enums.mdx | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/website/pages/en/cookbook/enums.mdx b/website/pages/en/cookbook/enums.mdx index b882b7769e21..d401cc56a757 100644 --- a/website/pages/en/cookbook/enums.mdx +++ b/website/pages/en/cookbook/enums.mdx @@ -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 } } ```