diff --git a/apps/extension/src/App/Accounts/ParentAccounts.tsx b/apps/extension/src/App/Accounts/ParentAccounts.tsx index 25a1d130b..f1b1251f9 100644 --- a/apps/extension/src/App/Accounts/ParentAccounts.tsx +++ b/apps/extension/src/App/Accounts/ParentAccounts.tsx @@ -8,7 +8,7 @@ import { KeyListItem, Stack, } from "@namada/components"; -import { AccountType, DerivedAccount } from "@namada/types"; +import { DerivedAccount } from "@namada/types"; import { ParentAccountsFooter } from "App/Accounts/ParentAccountsFooter"; import { PageHeader } from "App/Common"; import routes from "App/routes"; @@ -27,14 +27,11 @@ export const ParentAccounts = (): JSX.Element => { accounts: allAccounts, changeActiveAccountId, } = useContext(AccountContext); - // We check which accounts need to be re-imported const accounts = allAccounts .filter((account) => account.parentId) .map((account) => { - const outdated = - account.type !== AccountType.Ledger && - typeof account.pseudoExtendedKey === "undefined"; + const outdated = typeof account.pseudoExtendedKey === "undefined"; const parent = parentAccounts.find((pa) => pa.id === account.parentId); invariant(parent, `Parent account not found for account ${account.id}`); diff --git a/packages/sdk/src/ledger.ts b/packages/sdk/src/ledger.ts index f39281bb4..cf3c9b484 100644 --- a/packages/sdk/src/ledger.ts +++ b/packages/sdk/src/ledger.ts @@ -255,7 +255,7 @@ export class Ledger { * Check if Zip32 is supported by the installed app's version. * Throws error if app is not initialized * @async - * @retuns boolean + * @returns boolean */ public async isZip32Supported(): Promise { const {