Merge branch 'main' of github.com:bluesky-social/social-app into main

zio/stable
Paul Frazee 2023-06-12 17:06:17 -05:00
commit abdb4aace6
1 changed files with 2 additions and 2 deletions

View File

@ -44,12 +44,12 @@ export const SearchScreen = withAuthRequired(
} }
}, [foafs, suggestedActors, searchUIModel, params.q]) }, [foafs, suggestedActors, searchUIModel, params.q])
const {isDesktop} = useWebMediaQueries()
if (searchUIModel) { if (searchUIModel) {
return <SearchResults model={searchUIModel} /> return <SearchResults model={searchUIModel} />
} }
const {isDesktop} = useWebMediaQueries()
if (!isDesktop) { if (!isDesktop) {
return <Mobile.SearchScreen navigation={navigation} route={route} /> return <Mobile.SearchScreen navigation={navigation} route={route} />
} }