parent
e1d489a6bc
commit
1788c9f3c0
@ -204,10 +204,10 @@ export const SearchBarDropdown = ({
|
|||||||
(isNFTPage && (hasVerifiedCollection || !hasVerifiedToken)) ||
|
(isNFTPage && (hasVerifiedCollection || !hasVerifiedToken)) ||
|
||||||
(!isNFTPage && !hasVerifiedToken && hasVerifiedCollection)
|
(!isNFTPage && !hasVerifiedToken && hasVerifiedCollection)
|
||||||
|
|
||||||
const trace = useTrace({ section: SectionName.NAVBAR_SEARCH })
|
const trace = JSON.stringify(useTrace({ section: SectionName.NAVBAR_SEARCH }))
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const eventProperties = { total_suggestions: totalSuggestions, query_text: queryText, ...trace }
|
const eventProperties = { total_suggestions: totalSuggestions, query_text: queryText, ...JSON.parse(trace) }
|
||||||
if (!isLoading) {
|
if (!isLoading) {
|
||||||
const tokenSearchResults =
|
const tokenSearchResults =
|
||||||
tokens.length > 0 ? (
|
tokens.length > 0 ? (
|
||||||
|
Loading…
Reference in New Issue
Block a user