From e0cb0ab59464102f726f13c9127a0861fb2c817f Mon Sep 17 00:00:00 2001 From: Lucas Santos Date: Wed, 30 Aug 2023 21:39:46 -0300 Subject: [PATCH] chore: hide trezor account that was not created in current network --- source/components/Header/AccountHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/components/Header/AccountHeader.tsx b/source/components/Header/AccountHeader.tsx index 5a790756e..fe1935d3f 100644 --- a/source/components/Header/AccountHeader.tsx +++ b/source/components/Header/AccountHeader.tsx @@ -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`} @@ -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`}