Skip to content

Commit e73d479

Browse files
committed
Remove AnalyticsWrapper again
1 parent 79cab6c commit e73d479

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

src/components/planner/Sidebar/Sidebar.tsx

+13-15
Original file line numberDiff line numberDiff line change
@@ -189,21 +189,19 @@ function CourseSelectorContainer({
189189
<h6 className="text-base tracking-tight text-gray-500">Drag courses onto your plan</h6>
190190
</div>
191191
<div className="z-[999] drop-shadow-2xl">
192-
<AnalyticsWrapper analyticsClass="umami--click--search-course">
193-
<SearchBar
194-
onClick={() => setDisplay(true)}
195-
updateQuery={(q) => {
196-
updateQuery(q);
197-
setDisplay(true);
198-
}}
199-
className={`${
200-
displayResults
201-
? 'rounded-b-none border-b-transparent'
202-
: 'rounded-b-[10px] border-b-inherit'
203-
}`}
204-
placeholder="Search courses"
205-
/>
206-
</AnalyticsWrapper>
192+
<SearchBar
193+
onClick={() => setDisplay(true)}
194+
updateQuery={(q) => {
195+
updateQuery(q);
196+
setDisplay(true);
197+
}}
198+
className={`${
199+
displayResults
200+
? 'rounded-b-none border-b-transparent'
201+
: 'rounded-b-[10px] border-b-inherit'
202+
}`}
203+
placeholder="Search courses"
204+
/>
207205
<div className="relative">
208206
<div
209207
ref={ref}

0 commit comments

Comments
 (0)