Commit 97fd09af authored by tom's avatar tom

fix typo

parent 9e230240
...@@ -36,7 +36,7 @@ const VerifiedContracts = () => { ...@@ -36,7 +36,7 @@ const VerifiedContracts = () => {
filters: { q: debouncedSearchTerm, filter: type }, filters: { q: debouncedSearchTerm, filter: type },
}); });
const handleSearchTemChange = React.useCallback((value: string) => { const handleSearchTermChange = React.useCallback((value: string) => {
onFilterChange({ q: value, filter: type }); onFilterChange({ q: value, filter: type });
setSearchTerm(value); setSearchTerm(value);
}, [ type, onFilterChange ]); }, [ type, onFilterChange ]);
...@@ -68,7 +68,7 @@ const VerifiedContracts = () => { ...@@ -68,7 +68,7 @@ const VerifiedContracts = () => {
<FilterInput <FilterInput
w={{ base: '100%', lg: '350px' }} w={{ base: '100%', lg: '350px' }}
size="xs" size="xs"
onChange={ handleSearchTemChange } onChange={ handleSearchTermChange }
placeholder="Search by contract name or address" placeholder="Search by contract name or address"
initialValue={ searchTerm } initialValue={ searchTerm }
/> />
......
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