parent
b46fa27084
commit
6fe5d4363d
@ -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
|
|||||||
<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>
|
||||||
|
Loading…
Reference in New Issue
Block a user