Skip to content

Commit

Permalink
fix: hide shielded keys on switch account panel (#1781)
Browse files Browse the repository at this point in the history
  • Loading branch information
euharrison authored Feb 27, 2025
1 parent 902df42 commit a1fa2ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/namadillo/src/App/SwitchAccount/SwitchAccountPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Checkbox, Modal } from "@namada/components";
import { AccountType } from "@namada/types";
import { ModalTransition } from "App/Common/ModalTransition";
import {
accountsAtom,
Expand Down Expand Up @@ -44,7 +45,7 @@ export const SwitchAccountPanel = (): JSX.Element => {
</header>
<div className="overflow-auto dark-scrollbar pb-5">
{data
?.filter((i) => !i.parentId)
?.filter((i) => i.type !== AccountType.ShieldedKeys)
.map(({ alias, address }) => (
<button
key={alias}
Expand Down

0 comments on commit a1fa2ae

Please sign in to comment.