Skip to content

Commit

Permalink
hide stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinoConti committed Dec 16, 2024
1 parent 3ffdd45 commit 6575483
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions src/components/molecules/ProtocolsStats/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ const ProtocolsStats = ({ numberOfProtocols }: { numberOfProtocols?: number }) =
data?.length > 0 &&
data?.map((item, i) => {
if (i >= numberOfProtocols) return null;
if (item.protocol === "WORMHOLE_LIQUIDITY_LAYER") return null;

return (
<div
Expand Down
20 changes: 10 additions & 10 deletions src/utils/filterUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@ export const PROTOCOL_LIST: { label: string; value: string }[] = [
label: formatAppId(appId),
value: String(appId),
})),
{
icon: <ProtocolIcon protocol={MAYAN_SHUTTLE_APP_ID} />,
label: "Mayan Shuttle",
value: SWAP_LAYER_APP_ID,
},
{
icon: <ProtocolIcon protocol={LIQUIDITY_LAYER_APP_ID} />,
label: "Wormhole Liquidity Layer",
value: FAST_TRANSFERS_APP_ID,
},
// {
// icon: <ProtocolIcon protocol={MAYAN_SHUTTLE_APP_ID} />,
// label: "Mayan Shuttle",
// value: SWAP_LAYER_APP_ID,
// },
// {
// icon: <ProtocolIcon protocol={LIQUIDITY_LAYER_APP_ID} />,
// label: "Wormhole Liquidity Layer",
// value: FAST_TRANSFERS_APP_ID,
// },
].sort((a, b) => a.label.localeCompare(b.label));

export const ChainFilterMainnet = [
Expand Down

0 comments on commit 6575483

Please sign in to comment.