diff --git a/apps/dashboard/src/@/components/tx-button/MismatchButton.tsx b/apps/dashboard/src/@/components/tx-button/MismatchButton.tsx
index 5882ff0e7f6..edb78f5e9fd 100644
--- a/apps/dashboard/src/@/components/tx-button/MismatchButton.tsx
+++ b/apps/dashboard/src/@/components/tx-button/MismatchButton.tsx
@@ -18,7 +18,7 @@ import {
} from "thirdweb";
import { type Chain, type ChainMetadata, localhost } from "thirdweb/chains";
import {
- PayEmbed,
+ CheckoutWidget,
useActiveAccount,
useActiveWallet,
useActiveWalletChain,
@@ -29,7 +29,6 @@ import {
import { privateKeyToAccount, type Wallet } from "thirdweb/wallets";
import { apiServerProxy } from "@/actions/proxies";
import { Button } from "@/components/ui/button";
-import { DynamicHeight } from "@/components/ui/DynamicHeight";
import {
Dialog,
DialogContent,
@@ -251,39 +250,34 @@ export const MismatchButton = forwardRef<
>
-
- {dialog === "no-funds" && (
- setDialog(undefined)}
- openPayModal={() => {
- setDialog("pay");
- }}
- />
- )}
+ {dialog === "no-funds" && (
+ setDialog(undefined)}
+ openPayModal={() => {
+ setDialog("pay");
+ }}
+ />
+ )}
- {dialog === "pay" && (
-
- )}
-
+ {dialog === "pay" && account && (
+
+ )}
>
@@ -362,11 +356,7 @@ function NoFundsDialogContent(props: {
(x) => x.enabled && x.service === "pay",
) ? (
// pay case
-