diff --git a/src/components/Demo.tsx b/src/components/Demo.tsx index 1f406d4..eec3387 100644 --- a/src/components/Demo.tsx +++ b/src/components/Demo.tsx @@ -21,6 +21,7 @@ import { config } from "~/components/providers/WagmiProvider"; import { Button } from "~/components/ui/Button"; import { truncateAddress } from "~/lib/truncateAddress"; import { base, optimism } from "wagmi/chains"; +import { BaseError, UserRejectedRequestError } from "viem"; export default function Demo( { title }: { title?: string } = { title: "Frames v2 Demo" } @@ -183,11 +184,6 @@ export default function Demo( setIsContextOpen((prev) => !prev); }, []); - const renderError = (error: Error | null) => { - if (!error) return null; - return