From 6fe5d4363da8a4bd9003e0d125d8ae7d62a00fb4 Mon Sep 17 00:00:00 2001 From: lynn <41491154+lynnshaoyu@users.noreply.github.com> Date: Fri, 2 Sep 2022 14:55:50 -0400 Subject: [PATCH] fix: remove warning icon on search (#4564) init --- src/components/NavBar/SuggestionRow.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/NavBar/SuggestionRow.tsx b/src/components/NavBar/SuggestionRow.tsx index ffaa0d75e0..b28c1c267f 100644 --- a/src/components/NavBar/SuggestionRow.tsx +++ b/src/components/NavBar/SuggestionRow.tsx @@ -10,7 +10,7 @@ import { putCommas } from 'nft/utils/putCommas' import { useCallback, useEffect, useState } from 'react' 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' interface CollectionRowProps { @@ -151,11 +151,7 @@ export const TokenRow = ({ token, isHovered, setHoveredIndex, toggleOpen, index {token.name} - {token.onDefaultList ? ( - - ) : ( - - )} + {token.onDefaultList && } {token.symbol}