Skip to content

Commit 9024bba

Browse files
committed
Dashboard: Remove OP Sponsored badge in Chain selector
1 parent d5ff9f2 commit 9024bba

File tree

2 files changed

+0
-35
lines changed

2 files changed

+0
-35
lines changed

apps/dashboard/src/@/components/misc/CustomChainRenderer.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import type { ThirdwebClient } from "thirdweb";
33
import type { UseNetworkSwitcherModalOptions } from "thirdweb/react";
44
import { Button } from "@/components/ui/button";
55
import { Spinner } from "@/components/ui/Spinner";
6-
import { OPSponsoredChains } from "@/constants/chains";
76
import { useAllChainsData } from "@/hooks/chains/allChains";
87
import { ChainIconClient } from "@/icons/ChainIcon";
98
import { cn } from "@/lib/utils";
@@ -32,7 +31,6 @@ export const CustomChainRenderer = ({
3231
const { idToChain } = useAllChainsData();
3332
const storedChain = idToChain.get(chain.id);
3433
const isDeprecated = storedChain?.status === "deprecated";
35-
const isSponsored = OPSponsoredChains.includes(chain.id);
3634

3735
return (
3836
<div className="flex min-h-[48px] w-full cursor-pointer justify-start rounded-lg px-2 py-1 hover:bg-accent">
@@ -70,16 +68,6 @@ export const CustomChainRenderer = ({
7068
Deprecated
7169
</div>
7270
)}
73-
{isSponsored && (
74-
<div
75-
className="flex shrink-0 cursor-not-allowed items-center overflow-hidden rounded-xl px-2 py-1 font-medium text-xs"
76-
style={{
77-
background: "linear-gradient(to right, #701953, #5454B2)",
78-
}}
79-
>
80-
Sponsored
81-
</div>
82-
)}
8371
</div>
8472
{switching && (
8573
<div className="flex items-center gap-1 font-medium text-link-foreground text-xs">

apps/dashboard/src/@/constants/chains.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)