diff --git a/packages/web/components/assets/chain-logo.tsx b/packages/web/components/assets/chain-logo.tsx index 50b07ddc5c..e76b1f7174 100644 --- a/packages/web/components/assets/chain-logo.tsx +++ b/packages/web/components/assets/chain-logo.tsx @@ -2,28 +2,14 @@ import classNames from "classnames"; import { rgba } from "polished"; import { FunctionComponent } from "react"; -import { FallbackImg } from "~/components/assets/fallback-img"; interface ChainLogoProps { color: string | undefined; logoUri: string | undefined; prettyName?: string; - size?: "xs" | "sm" | "md" | "lg"; + size?: "xs" | "sm" | "lg"; className?: string; } -const getImageClasses = (size: ChainLogoProps["size"]) => { - switch (size) { - case "xs": - return "h-3 w-3"; - case "sm": - return "h-4 w-4"; - case "md": - return "h-5 w-5"; - default: - return "h-6 w-6"; - } -}; - export const ChainLogo: FunctionComponent = ({ color, logoUri, @@ -39,7 +25,6 @@ export const ChainLogo: FunctionComponent = ({ { xs: "h-4 w-4 rounded-sm", sm: "h-6 w-6 rounded-md", - md: "h-8 w-8 rounded-lg", lg: "h-12 w-12 rounded-xl", }[size], className @@ -49,11 +34,13 @@ export const ChainLogo: FunctionComponent = ({ }} > {logoUri && ( - )}