Files
workavia-calendar-front/src/features/Search/SearchResultsPage.tsx
T
Camille Moussu 234b4c3ae8 [#691] changed searchbar in menubar to mobile searchbar (#822)
* [#691] changed searchbar in menubar to mobile searchbar
* [#691] add filters to results page for mobile
* [#691] added filter for organizers and attendees
2026-04-28 15:07:45 +02:00

17 lines
479 B
TypeScript

import { useScreenSizeDetection } from '@/useScreenSizeDetection'
import DesktopSearchResultsPage from './DesktopSearchResultsPage'
import MobileSearchResultsPage from './MobileSearchResultsPage'
import './searchResult.styl'
const SearchResultsPage: React.FC = () => {
const { isTooSmall: isMobile } = useScreenSizeDetection()
if (isMobile) {
return <MobileSearchResultsPage />
} else {
return <DesktopSearchResultsPage />
}
}
export default SearchResultsPage