Skip to content

Commit 344904b

Browse files
committed
one minor edit
1 parent 87f2bb8 commit 344904b

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

website/pages/en/cookbook/enums.mdx

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -70,24 +70,7 @@ export function getMarketplaceName(marketplace: Marketplace): string {
7070
return 'SeaPort' // If the marketplace is SeaPort, return its string representation
7171
} else if (marketplace === Marketplace.LooksRare) {
7272
return 'LooksRare' // If the marketplace is LooksRare, return its string representation
73-
} else if (marketplace === Marketplace.OxProtocol) {
74-
return 'OxProtocol' // If the marketplace is OxProtocol, return its string representation
75-
} else if (marketplace === Marketplace.OxProtocolV2) {
76-
return 'OxProtocolV2' // If the marketplace is OxProtocolV2, return its string representation
77-
} else if (marketplace === Marketplace.Blur) {
78-
return 'Blur' // If the marketplace is Blur, return its string representation
79-
} else if (marketplace === Marketplace.Rarible) {
80-
return 'Rarible' // If the marketplace is Rarible, return its string representation
81-
} else if (marketplace === Marketplace.X2Y2) {
82-
return 'X2Y2' // If the marketplace is X2Y2, return its string representation
83-
} else if (marketplace === Marketplace.NFTX) {
84-
return 'NFTX' // If the marketplace is NFTX, return its string representation
85-
} else if (marketplace === Marketplace.GenieSwap) {
86-
return 'GenieSwap' // If the marketplace is GenieSwap, return its string representation
87-
} else if (marketplace === Marketplace.CryptoCoven) {
88-
return 'CryptoCoven' // If the marketplace is CryptoCoven, return its string representation
89-
} else {
90-
return 'Unknown' // If the marketplace doesn't match any known values, return "Unknown"
73+
// ... and other market places
9174
}
9275
}
9376
```

0 commit comments

Comments
 (0)