diff --git a/src/components/SearchRevamp.js b/src/components/SearchRevamp.js index 960934c..929f293 100644 --- a/src/components/SearchRevamp.js +++ b/src/components/SearchRevamp.js @@ -99,6 +99,7 @@ const SearchRevamp = ({ filter }: Props): Node => { placeholder="Search stake pool" type="text" /> + {searchValue.length > 0 && { setSearchValue(''); @@ -107,6 +108,8 @@ const SearchRevamp = ({ filter }: Props): Node => { > Clear Input + } + ); };