apply review feedback
Signed-off-by: Anders Näsman <andersn@spotify.com>
This commit is contained in:
committed by
Eric Peterson
parent
295eb30778
commit
2dc4818541
@@ -101,8 +101,6 @@ export const DefaultResultListItemComponent = ({
|
||||
};
|
||||
|
||||
/**
|
||||
* A higher order function providing AnalyticsContext to the DefaultResultListItemComponent.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
const HigherOrderDefaultResultListItem = (
|
||||
|
||||
@@ -65,8 +65,6 @@ export const SearchResultComponent = ({ children }: SearchResultProps) => {
|
||||
};
|
||||
|
||||
/**
|
||||
* A higher order function providing AnalyticsContext to the SearchResultComponent.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
const HigherOrderSearchResult = (props: SearchResultProps) => {
|
||||
|
||||
@@ -20,8 +20,6 @@ import { useSearch } from '../../context';
|
||||
|
||||
/**
|
||||
* Capture search event on term change.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export const TrackSearch = ({ children }: { children: React.ReactChild }) => {
|
||||
const analytics = useAnalytics();
|
||||
|
||||
@@ -19,5 +19,4 @@ export * from './SearchFilter';
|
||||
export * from './SearchResult';
|
||||
export * from './SearchResultPager';
|
||||
export * from './SearchBar';
|
||||
export * from './SearchTracker';
|
||||
export * from './DefaultResultListItem';
|
||||
|
||||
Reference in New Issue
Block a user