Skip to content

Commit

Permalink
fix(suite): add missing hide rates attr for testnet acc in token list
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklim committed Jul 5, 2024
1 parent 3e999e4 commit b938640
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { spacings, spacingsPx } from '@trezor/theme';
import { selectIsDebugModeActive } from 'src/reducers/suite/suiteReducer';
import { H3, Icon } from '@trezor/components';
import { Text, Row } from '@trezor/components';
import { isTestnet } from '@suite-common/wallet-utils';

const Wrapper = styled.div`
display: flex;
Expand Down Expand Up @@ -63,6 +64,7 @@ export const HiddenTokensTable = ({ selectedAccount, searchQuery }: HiddenTokens
)}
{hiddenTokensCount > 0 && (
<TokenList
hideRates={isTestnet(account.symbol)}
account={account}
tokenStatusType={TokenManagementAction.SHOW}
tokens={filteredTokens.hidden}
Expand Down

0 comments on commit b938640

Please sign in to comment.