import { useChains } from "@/context/ChainsContext"; import { isChainInfoFilled } from "@/context/ChainsContext/helpers"; import { Avatar, AvatarFallback, AvatarImage } from "../ui/avatar"; import { DialogTrigger } from "../ui/dialog"; import { Skeleton } from "../ui/skeleton"; export function ChainHeader() { const { chain } = useChains(); return isChainInfoFilled(chain) ? ( <> {chain.registryName.slice(0, 1).toUpperCase()}

{chain.chainDisplayName} Multisig

) : ( <>
); } export default function DialogButton() { const showChainSelect = process.env.NEXT_PUBLIC_MULTICHAIN?.toLowerCase() === "true"; return showChainSelect ? (
) : (
); }