From c7ad9d114d1b1c5aea31029247e739c29b719124 Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Mon, 9 Mar 2026 15:03:44 +0100 Subject: [PATCH] refactor(frontend): simplify wallet type labels in HD and single addresses --- frontend/src/components/HDWallet.jsx | 10 +++++----- frontend/src/components/SingleAddress.jsx | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/HDWallet.jsx b/frontend/src/components/HDWallet.jsx index fa74578..0b720eb 100644 --- a/frontend/src/components/HDWallet.jsx +++ b/frontend/src/components/HDWallet.jsx @@ -80,12 +80,12 @@ export default function HDWallet() {
- +
diff --git a/frontend/src/components/SingleAddress.jsx b/frontend/src/components/SingleAddress.jsx index 5a7e8c5..7d43319 100644 --- a/frontend/src/components/SingleAddress.jsx +++ b/frontend/src/components/SingleAddress.jsx @@ -2,11 +2,11 @@ import { useState } from 'react' import CopyButton from './CopyButton' const TABS = [ - { id: 'p2pk', label: 'P2PK', desc: 'Pay-to-PubKey (no address)' }, - { id: 'p2pkh', label: 'P2PKH', desc: 'Legacy · starts with 1 / m' }, - { id: 'p2sh', label: 'P2SH', desc: 'Multisig · starts with 3 / 2' }, - { id: 'p2wpkh', label: 'P2WPKH', desc: 'Native SegWit · bc1q / tb1q' }, - { id: 'p2tr', label: 'P2TR', desc: 'Taproot · bc1p / tb1p' }, + { id: 'p2pk', label: 'P2PK', desc: 'Pay-to-PubKey' }, + { id: 'p2pkh', label: 'P2PKH', desc: 'Legacy' }, + { id: 'p2sh', label: 'P2SH', desc: 'Multisig' }, + { id: 'p2wpkh', label: 'P2WPKH', desc: 'Native SegWit' }, + { id: 'p2tr', label: 'P2TR', desc: 'Taproot' }, ] export default function SingleAddress({ initialTab = 'p2pkh' }) {