Skip to content

Commit

Permalink
Remove AnalyticsWrapper again
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Oct 30, 2024
1 parent 79cab6c commit e73d479
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions src/components/planner/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,21 +189,19 @@ function CourseSelectorContainer({
<h6 className="text-base tracking-tight text-gray-500">Drag courses onto your plan</h6>
</div>
<div className="z-[999] drop-shadow-2xl">
<AnalyticsWrapper analyticsClass="umami--click--search-course">
<SearchBar
onClick={() => setDisplay(true)}
updateQuery={(q) => {
updateQuery(q);
setDisplay(true);
}}
className={`${
displayResults
? 'rounded-b-none border-b-transparent'
: 'rounded-b-[10px] border-b-inherit'
}`}
placeholder="Search courses"
/>
</AnalyticsWrapper>
<SearchBar
onClick={() => setDisplay(true)}
updateQuery={(q) => {
updateQuery(q);
setDisplay(true);
}}
className={`${
displayResults
? 'rounded-b-none border-b-transparent'
: 'rounded-b-[10px] border-b-inherit'
}`}
placeholder="Search courses"
/>
<div className="relative">
<div
ref={ref}
Expand Down

0 comments on commit e73d479

Please sign in to comment.