From 4862f8b7371c273a56ddb1c87a95fff7bd9f9971 Mon Sep 17 00:00:00 2001 From: slowbackspace Date: Fri, 12 Apr 2019 16:40:14 +0200 Subject: [PATCH] remove unused function --- src/reducers/AccountsReducer.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/reducers/AccountsReducer.js b/src/reducers/AccountsReducer.js index 047451de..22994c3f 100644 --- a/src/reducers/AccountsReducer.js +++ b/src/reducers/AccountsReducer.js @@ -42,19 +42,6 @@ export type State = Array; const initialState: State = []; -export const findAccount = ( - state: State, - index: number, - deviceState: string, - network: string -): ?Account => - state.find( - a => - (a.deviceState === deviceState || a.imported) && - a.index === index && - a.network === network - ); - export const findDeviceAccounts = ( state: State, device: TrezorDevice,