From f0813bbc861fbdd2bc5fe03078ad21d29d842393 Mon Sep 17 00:00:00 2001 From: Leouarz Date: Mon, 29 Apr 2024 15:08:19 +0200 Subject: [PATCH] lint --- packages/page-accounts/src/Accounts/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/page-accounts/src/Accounts/index.tsx b/packages/page-accounts/src/Accounts/index.tsx index 774f7c8bb83e..8b9f046d173b 100644 --- a/packages/page-accounts/src/Accounts/index.tsx +++ b/packages/page-accounts/src/Accounts/index.tsx @@ -45,7 +45,7 @@ interface SortControls { sortFromMax: boolean; } -type GroupName = 'accounts' | 'chopsticks' | 'chopsticks' | 'hardware' | 'injected' | 'multisig' | 'proxied' | 'qr' | 'testing'; +type GroupName = 'accounts' | 'chopsticks' | 'hardware' | 'injected' | 'multisig' | 'proxied' | 'qr' | 'testing'; const DEFAULT_SORT_CONTROLS: SortControls = { sortBy: 'date', sortFromMax: true }; @@ -81,8 +81,6 @@ function groupAccounts (accounts: SortedAccount[]): Record ret.proxied.push(address); } else if (cryptoType === 'chopsticks') { ret.chopsticks.push(address); - } else if (cryptoType === 'chopsticks') { - ret.chopsticks.push(address); } else if (cryptoType === 'qr') { ret.qr.push(address); } else {