diff --git a/packages/sado-connect/src/components/PostConnectButton/index.tsx b/packages/sado-connect/src/components/PostConnectButton/index.tsx index dba41ee3..51afad97 100644 --- a/packages/sado-connect/src/components/PostConnectButton/index.tsx +++ b/packages/sado-connect/src/components/PostConnectButton/index.tsx @@ -75,11 +75,11 @@ export function PostConnectButton({ {TruncateMiddle(address)}
- - Offers -
0
-
-
+ {/**/} + {/* Offers*/} + {/*
0
*/} + {/*
*/} + {/*
*/} { - try { - const xverse = await ordit.xverse.getAddresses({ - network, - }); - const taprootAddress = xverse.find( - (address) => address.format === "taproot" - ); - updateAddress(taprootAddress.address); - updatePublicKey(taprootAddress.pub); - updateWallet(Wallet.XVERSE); - closeModal(); - } catch (err: any) { - if (err?.message === "Xverse not installed.") { - window.open(XVERSE_WALLET_CHROME_EXTENSION_URL); - } - setErrorMessage(err.toString()); - console.error("Error while connecting to Xverse wallet", err); - } - }; + // const onConnectXverseWallet = async () => { + // try { + // const xverse = await ordit.xverse.getAddresses({ + // network, + // }); + // const taprootAddress = xverse.find( + // (address) => address.format === "taproot" + // ); + // updateAddress(taprootAddress.address); + // updatePublicKey(taprootAddress.pub); + // updateWallet(Wallet.XVERSE); + // closeModal(); + // } catch (err: any) { + // if (err?.message === "Xverse not installed.") { + // window.open(XVERSE_WALLET_CHROME_EXTENSION_URL); + // } + // setErrorMessage(err.toString()); + // console.error("Error while connecting to Xverse wallet", err); + // } + // }; return ( @@ -124,18 +124,18 @@ export function SelectWalletModal({ Chevron Right -
- + {/*
*/} + {/* {*/} + {/* await onConnectXverseWallet();*/} + {/* }}*/} + {/*>*/} + {/* Xverse Wallet*/} + {/* Xverse*/} + {/* Chevron Right*/} + {/**/} ) : ( <> diff --git a/packages/sado-connect/src/components/SelectWalletModal/style.css b/packages/sado-connect/src/components/SelectWalletModal/style.css index e3713b9d..de8de588 100644 --- a/packages/sado-connect/src/components/SelectWalletModal/style.css +++ b/packages/sado-connect/src/components/SelectWalletModal/style.css @@ -136,7 +136,7 @@ padding: 32px 32px 24px; border: 0px; margin-bottom: 0px; - border-radius: 20px 20px 0px 0px; + border-radius: 20px 20px 20px 20px; } .sado-connect-wallet-modal .wallet-option-button:nth-of-type(2) {