Merge branch 'main' of github.com:bluesky-social/social-app into main
This commit is contained in:
commit
abdb4aace6
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue