diff --git a/apps/web/public/images/switch.svg b/apps/web/public/images/switch.svg index a810fbb6..56b5f0c5 100644 --- a/apps/web/public/images/switch.svg +++ b/apps/web/public/images/switch.svg @@ -1,14 +1,14 @@ - - - - - + + d="M8 0H18C22.4183 0 26 3.58172 26 8V18C26 22.4183 22.4183 26 18 26H8C3.58172 26 0 22.4183 0 18V8C0 3.58172 3.58172 0 8 0Z" + fill="#1F282C" /> + d="M8 3C5.23858 3 3 5.23858 3 8V18C3 20.7614 5.23858 23 8 23H18C20.7614 23 23 20.7614 23 18V8C23 5.23858 20.7614 3 18 3H8Z" + fill="#00141D" /> + + diff --git a/apps/web/src/components/transfer-switch.tsx b/apps/web/src/components/transfer-switch.tsx index 8f1659d3..285af77d 100644 --- a/apps/web/src/components/transfer-switch.tsx +++ b/apps/web/src/components/transfer-switch.tsx @@ -12,8 +12,8 @@ export default function TransferSwitch({ disabled, onSwitch = () => undefined }: return (
undefined }: height={28} alt="Switch" src="images/switch.svg" - className={`h-[1.75rem] w-[1.75rem] shrink-0 transition-opacity ${ - disabled ? "opacity-60" : "opacity-80 hover:opacity-100" - }`} + className={`h-[1.75rem] w-[1.75rem] shrink-0 transition-opacity ${disabled ? "opacity-80" : ""}`} />
diff --git a/apps/web/src/hooks/use-supported-chains.ts b/apps/web/src/hooks/use-supported-chains.ts index fce689a9..830462b6 100644 --- a/apps/web/src/hooks/use-supported-chains.ts +++ b/apps/web/src/hooks/use-supported-chains.ts @@ -2,7 +2,6 @@ import { GQL_GET_SUPPORTED_CHAINS } from "../config"; import { SupportedChainsReqParams, SupportedChainsResData, TokenCategory } from "../types"; import { useQuery } from "@apollo/client"; import { useEffect, useMemo, useState } from "react"; -import { notification } from "../ui/notification"; export function useSupportedChains(token: TokenCategory) { const { loading, data: _data } = useQuery( @@ -17,12 +16,6 @@ export function useSupportedChains(token: TokenCategory) { useEffect(() => { if (!loading) { setData(_data?.queryLnBridgeSupportedChains || []); - if (!(_data?.queryLnBridgeSupportedChains || []).length) { - notification.warn({ - title: "No supported chains", - description: "Cross-chain transfer of this token is temporarily not supported.", - }); - } } }, [loading, _data?.queryLnBridgeSupportedChains]);