mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
This commit is contained in:
parent
6126c156ea
commit
ab3e3976e6
@ -3,12 +3,12 @@ import PropTypes from 'prop-types';
|
||||
import classnames from 'classnames';
|
||||
import { useI18nContext } from '../../../../hooks/useI18nContext';
|
||||
import CustomContentSearch from '../custom-content-search';
|
||||
import Typography from '../../../../components/ui/typography';
|
||||
import {
|
||||
Color,
|
||||
TypographyVariant,
|
||||
TextVariant,
|
||||
} from '../../../../helpers/constants/design-system';
|
||||
import NetworksListItem from '../networks-list-item';
|
||||
import { Text } from '../../../../components/component-library';
|
||||
|
||||
const NetworksList = ({
|
||||
networkIsSelected,
|
||||
@ -62,14 +62,15 @@ const NetworksList = ({
|
||||
/>
|
||||
))}
|
||||
{searchQuery === '' && (
|
||||
<Typography
|
||||
variant={TypographyVariant.H6}
|
||||
<Text
|
||||
variant={TextVariant.bodySm}
|
||||
as="h6"
|
||||
marginTop={4}
|
||||
color={Color.textAlternative}
|
||||
className="networks-tab__networks-list__label"
|
||||
>
|
||||
{t('testNetworks')}
|
||||
</Typography>
|
||||
</Text>
|
||||
)}
|
||||
{searchedNetworksToRenderThatAreTestNetworks.map((network, _) => (
|
||||
<NetworksListItem
|
||||
|
Loading…
Reference in New Issue
Block a user