234b4c3ae8
* [#691] changed searchbar in menubar to mobile searchbar * [#691] add filters to results page for mobile * [#691] added filter for organizers and attendees
17 lines
479 B
TypeScript
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
|