diff --git a/web/components/contract-search.tsx b/web/components/contract-search.tsx index b46bee6e..be6afcfd 100644 --- a/web/components/contract-search.tsx +++ b/web/components/contract-search.tsx @@ -28,7 +28,6 @@ const searchClient = algoliasearch( ) const indexPrefix = ENV === 'DEV' ? 'dev-' : '' -console.log('env', ENV, indexPrefix) const sortIndexes = [ { label: 'Newest', value: indexPrefix + 'contracts-newest' }, @@ -68,6 +67,11 @@ export function ContractSearch(props: { { - console.log('initial query', initialQuery) setQuery(initialQuery) }, [initialQuery]) @@ -134,12 +137,10 @@ export function ContractSearchInner(props: { }) useEffect(() => { - console.log('setting query', query) setQuery(query) }, [query]) useEffect(() => { - console.log('effect sort', 'curr', index) const sort = index.split('contracts-')[1] as Sort if (sort) { setSort(sort)