Merge branch 'main' of github.com:bluesky-social/social-app into main
commit
abdb4aace6
|
@ -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} />
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue