Update WalletDetails.tsx

This commit is contained in:
Marcos Rodriguez Vélez 2024-09-14 00:48:09 -04:00 committed by GitHub
parent cefbb64fb0
commit c453e1a977
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,8 +55,6 @@ const WalletDetails: React.FC = () => {
const [backdoorPressed, setBackdoorPressed] = useState<number>(0);
const walletRef = useRef<TWallet | undefined>(wallets.find(w => w.getID() === walletID));
const wallet = walletRef.current as TWallet;
const [walletName, setWalletName] = useState<string>(wallet.getLabel());
const [walletUseWithHardwareWallet, setWalletUseWithHardwareWallet] = useState<boolean>(
wallet.useWithHardwareWalletEnabled ? wallet.useWithHardwareWalletEnabled() : false,
);