We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f618fd commit ea38cbeCopy full SHA for ea38cbe
src/components/search-bar.jsx
@@ -75,9 +75,6 @@ export default function SearchBar({ setIsSearchOpen }) {
75
return;
76
}
77
78
- // GA Event
79
- sendSearchEvent(value);
80
-
81
const data = await response.json();
82
83
if (Array.isArray(data)) {
@@ -90,6 +87,7 @@ export default function SearchBar({ setIsSearchOpen }) {
90
87
console.error("Error fetching search results:", error);
91
88
setItems([]);
92
89
} finally {
+ sendSearchEvent(value);
93
94
}, 500),
95
).current;
0 commit comments