mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
Update WalletDetails.tsx
This commit is contained in:
parent
cefbb64fb0
commit
c453e1a977
@ -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,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user