Commit 6fe5d436 authored by lynn's avatar lynn Committed by GitHub

fix: remove warning icon on search (#4564)

init
parent b46fa270
...@@ -10,7 +10,7 @@ import { putCommas } from 'nft/utils/putCommas' ...@@ -10,7 +10,7 @@ import { putCommas } from 'nft/utils/putCommas'
import { useCallback, useEffect, useState } from 'react' import { useCallback, useEffect, useState } from 'react'
import { Link, useNavigate } from 'react-router-dom' import { Link, useNavigate } from 'react-router-dom'
import { TokenWarningRedIcon, VerifiedIcon } from '../../nft/components/icons' import { VerifiedIcon } from '../../nft/components/icons'
import * as styles from './SearchBar.css' import * as styles from './SearchBar.css'
interface CollectionRowProps { interface CollectionRowProps {
...@@ -151,11 +151,7 @@ export const TokenRow = ({ token, isHovered, setHoveredIndex, toggleOpen, index ...@@ -151,11 +151,7 @@ export const TokenRow = ({ token, isHovered, setHoveredIndex, toggleOpen, index
<Column className={styles.suggestionPrimaryContainer}> <Column className={styles.suggestionPrimaryContainer}>
<Row gap="4" width="full"> <Row gap="4" width="full">
<Box className={styles.primaryText}>{token.name}</Box> <Box className={styles.primaryText}>{token.name}</Box>
{token.onDefaultList ? ( {token.onDefaultList && <VerifiedIcon className={styles.suggestionIcon} />}
<VerifiedIcon className={styles.suggestionIcon} />
) : (
<TokenWarningRedIcon className={styles.suggestionIcon} />
)}
</Row> </Row>
<Box className={styles.secondaryText}>{token.symbol}</Box> <Box className={styles.secondaryText}>{token.symbol}</Box>
</Column> </Column>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment