Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: hide trezor account that was not created in current network #466

Merged
merged 2 commits into from
Sep 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/components/Header/AccountHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const RenderAccountsListByBitcoinBased = (
className={`py-1.5 px-5 w-full backface-visibility-hidden flex items-center justify-start text-white text-sm
font-medium active:bg-opacity-40 focus:outline-none ${
account?.originNetwork.url !== activeNetwork.url
? 'cursor-not-allowed disabled'
? 'hidden'
: 'cursor-pointer'
} transform
transition duration-300`}
Expand Down Expand Up @@ -139,7 +139,7 @@ const RenderAccountsListByBitcoinBased = (
font-medium active:bg-opacity-40 focus:outline-none ${
account.isTrezorWallet &&
account?.originNetwork?.isBitcoinBased
? 'cursor-not-allowed disabled'
? 'hidden'
: 'cursor-pointer'
} transform
transition duration-300`}
Expand Down
Loading