Skip to content

Commit b8c1be8

Browse files
committed
fix: remove unused code
1 parent 6b718f2 commit b8c1be8

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

test/e2e/page-objects/pages/multichain/multichain-account-details-page.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -158,24 +158,6 @@ class MultichainAccountDetailsPage {
158158
await netoworksRow.click();
159159
}
160160

161-
async getTruncatedAccountAddressFromNetworksPage(options: {
162-
accountRowIndex: number;
163-
}): Promise<string> {
164-
console.log(
165-
'Get truncated account address from account details > networks page',
166-
);
167-
const { accountRowIndex } = options;
168-
const accountRows = await this.driver.findElements(
169-
'[data-testid="multichain-address-row-address"]',
170-
);
171-
if (accountRowIndex < 0 || accountRowIndex >= accountRows.length) {
172-
throw new Error('Invalid account row index');
173-
}
174-
const accountRow = accountRows[accountRowIndex];
175-
const address = await accountRow.getText();
176-
return address;
177-
}
178-
179161
/**
180162
* Click on the private key row
181163
*/

ui/ducks/app/app.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -426,13 +426,6 @@ export default function reduceApp(
426426
alertMessage: null,
427427
};
428428

429-
case actionConstants.SET_ACCOUNT_DETAILS_ADDRESS: {
430-
return {
431-
...appState,
432-
accountDetailsAddress: action.payload,
433-
};
434-
}
435-
436429
// qr scanner methods
437430
case actionConstants.QR_CODE_DETECTED:
438431
return {

ui/store/actionConstants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ export const SHOW_SEND_TOKEN_PAGE = 'SHOW_SEND_TOKEN_PAGE';
6060
export const SHOW_PRIVATE_KEY = 'SHOW_PRIVATE_KEY';
6161
export const SET_ACCOUNT_LABEL = 'SET_ACCOUNT_LABEL';
6262
export const CLEAR_ACCOUNT_DETAILS = 'CLEAR_ACCOUNT_DETAILS';
63-
export const SET_ACCOUNT_DETAILS_ADDRESS = 'SET_ACCOUNT_DETAILS_ADDRESS';
6463
// tx conf screen
6564
export const COMPLETED_TX = 'COMPLETED_TX';
6665
export const TRANSACTION_ERROR = 'TRANSACTION_ERROR';

0 commit comments

Comments
 (0)