Skip to content

Commit f79672e

Browse files
authored
[Dashboard]: Fix: Remove in-app wallet connection option on payment page (#7934)
1 parent 3a289e8 commit f79672e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

apps/dashboard/src/app/pay/components/client/PayPageWidget.client.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { useEffect } from "react";
55
import { createThirdwebClient, NATIVE_TOKEN_ADDRESS, toTokens } from "thirdweb";
66
import { AutoConnect, CheckoutWidget } from "thirdweb/react";
77
import { checksumAddress } from "thirdweb/utils";
8+
import { createWallet } from "thirdweb/wallets";
89
import {
910
reportPaymentLinkBuyFailed,
1011
reportPaymentLinkBuySuccessful,
@@ -54,6 +55,15 @@ export function PayPageWidget({
5455
}
5556
/>
5657
<CheckoutWidget
58+
connectOptions={{
59+
wallets: [
60+
createWallet("io.metamask"),
61+
createWallet("io.rabby"),
62+
createWallet("com.okex.wallet"),
63+
createWallet("walletConnect"),
64+
],
65+
showAllWallets: true,
66+
}}
5767
amount={amount ? toTokens(amount, token.decimals) : "0"}
5868
chain={chain}
5969
client={

0 commit comments

Comments
 (0)