Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions apps/dashboard/src/@/components/misc/CustomChainRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { ThirdwebClient } from "thirdweb";
import type { UseNetworkSwitcherModalOptions } from "thirdweb/react";
import { Button } from "@/components/ui/button";
import { Spinner } from "@/components/ui/Spinner";
import { OPSponsoredChains } from "@/constants/chains";
import { useAllChainsData } from "@/hooks/chains/allChains";
import { ChainIconClient } from "@/icons/ChainIcon";
import { cn } from "@/lib/utils";
Expand Down Expand Up @@ -32,7 +31,6 @@ export const CustomChainRenderer = ({
const { idToChain } = useAllChainsData();
const storedChain = idToChain.get(chain.id);
const isDeprecated = storedChain?.status === "deprecated";
const isSponsored = OPSponsoredChains.includes(chain.id);

return (
<div className="flex min-h-[48px] w-full cursor-pointer justify-start rounded-lg px-2 py-1 hover:bg-accent">
Expand Down Expand Up @@ -70,16 +68,6 @@ export const CustomChainRenderer = ({
Deprecated
</div>
)}
{isSponsored && (
<div
className="flex shrink-0 cursor-not-allowed items-center overflow-hidden rounded-xl px-2 py-1 font-medium text-xs"
style={{
background: "linear-gradient(to right, #701953, #5454B2)",
}}
>
Sponsored
</div>
)}
</div>
{switching && (
<div className="flex items-center gap-1 font-medium text-link-foreground text-xs">
Expand Down
23 changes: 0 additions & 23 deletions apps/dashboard/src/@/constants/chains.ts

This file was deleted.

Loading