diff --git a/packages/next-common/components/login/web3/walletconnect.jsx b/packages/next-common/components/login/web3/walletconnect.jsx index 10a7e284ed..00037e4d46 100644 --- a/packages/next-common/components/login/web3/walletconnect.jsx +++ b/packages/next-common/components/login/web3/walletconnect.jsx @@ -12,12 +12,12 @@ import qrcode from "qrcode"; import { useEffect, useState } from "react"; import { useInterval, useUnmount } from "react-use"; -const SIZE = 300; +const SIZE = 200; const REFRESH_QRCODE_INTERVAL = 4 * 60 * 1000; // 4 minutes function Skeleton() { return ( -
+ ); } @@ -58,7 +58,7 @@ export default function LoginWeb3WalletConnect() { .toDataURL(uri, { width: SIZE, height: SIZE, - scale: 6, + margin: 0, }) .then(setQrCode); }, [uri]); @@ -96,9 +96,14 @@ export default function LoginWeb3WalletConnect() {