fix(wallet): handle desktop walletconnect reconnect
This commit is contained in:
@@ -181,6 +181,16 @@ export function WalletLoginModal() {
|
||||
</p>
|
||||
) : null}
|
||||
|
||||
{selected ? (
|
||||
<div className="mt-4 rounded-2xl border border-white/10 bg-white/[0.03] px-4 py-3 text-xs leading-5 text-neutral-400">
|
||||
<p className="font-semibold text-neutral-200">Wallet debug</p>
|
||||
<p>state: {wc.state}</p>
|
||||
<p>connected: {wc.isConnected ? "yes" : "no"}</p>
|
||||
<p className="break-all">address: {wc.address || "-"}</p>
|
||||
<p>qr: {wc.qrUri ? "received" : "-"}</p>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
{selected ? (
|
||||
<p className="mt-4 text-xs leading-5 text-amber-300/80">
|
||||
{t("walletNetworkWarning")}
|
||||
|
||||
Reference in New Issue
Block a user