From 4853ca2a145e12905e017e697e6d995cd17c8d10 Mon Sep 17 00:00:00 2001 From: Connor Bryan Date: Tue, 17 Jul 2018 16:01:07 -0500 Subject: [PATCH] Change pluralization --- common/components/WalletDecrypt/WalletDecrypt.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/components/WalletDecrypt/WalletDecrypt.tsx b/common/components/WalletDecrypt/WalletDecrypt.tsx index 6237ed53..7e759f87 100644 --- a/common/components/WalletDecrypt/WalletDecrypt.tsx +++ b/common/components/WalletDecrypt/WalletDecrypt.tsx @@ -105,10 +105,10 @@ type InsecureWallets = { [key in InsecureWalletName]: InsecureWalletInfo }; type MiscWallet = { [key in MiscWalletName]: MiscWalletInfo }; type Wallets = HardwareWallets & SecureWallets & InsecureWallets & MiscWallet; -const HARDWARE_WALLET = Object.values(HardwareWalletName); +const HARDWARE_WALLETS = Object.values(HardwareWalletName); /** @desc Hardware wallets are secure too, but we want to avoid duplication. */ const SECURE_WALLETS = Object.values(SecureWalletName).filter( - value => !HARDWARE_WALLET.includes(value) + value => !HARDWARE_WALLETS.includes(value) ); const INSECURE_WALLETS = Object.values(InsecureWalletName); const MISC_WALLETS = Object.values(MiscWalletName); @@ -315,7 +315,7 @@ const WalletDecrypt = withRouter(

{translate('DECRYPT_ACCESS')}

- {HARDWARE_WALLET.map((walletType: SecureWalletName) => { + {HARDWARE_WALLETS.map((walletType: SecureWalletName) => { const wallet = this.WALLETS[walletType]; return (