From d9e0c1b89c4c1bc61e7809cc558e53dfc2f82e76 Mon Sep 17 00:00:00 2001 From: Dione Date: Wed, 10 Jun 2026 12:03:15 +0000 Subject: [PATCH] Remove redundant revoke button from wallet sidebar --- index.html | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/index.html b/index.html index 849e350..3aff9dc 100644 --- a/index.html +++ b/index.html @@ -384,14 +384,7 @@ window.WalletManager = WalletManager; this._persist(); return { success: true }; } - revokeVerification(address, chain) { - const idx = this._wallets.findIndex(w => w.address === address && w.chain === chain); - if (idx === -1) return { success: false, error: 'Wallet not found' }; - this._wallets.splice(idx, 1); - this._persist(); - return { success: true }; - } - }; + }; } })(); @@ -598,10 +591,7 @@ function renderSidebar() { const verifyBtn = isEVM && !isVerified ? '' : ''; - const revokeBtn = isVerified && isEVM - ? '' - : ''; - html += '
' + + html += '
' + '
' + '
' + '
' + @@ -610,7 +600,7 @@ function renderSidebar() { '
' + '
' + '
' + - verifyBtn + revokeBtn + syncBadge + + verifyBtn + syncBadge + '