diff --git a/src/screens/Search/Explore.tsx b/src/screens/Search/Explore.tsx
index 8426abc76e..fd742bb13d 100644
--- a/src/screens/Search/Explore.tsx
+++ b/src/screens/Search/Explore.tsx
@@ -41,6 +41,7 @@ import {ExploreRecommendations} from '#/screens/Search/modules/ExploreRecommenda
import {ExploreTrendingTopics} from '#/screens/Search/modules/ExploreTrendingTopics'
import {ExploreTrendingVideos} from '#/screens/Search/modules/ExploreTrendingVideos'
import {atoms as a, native, platform, useTheme, web} from '#/alf'
+import {Admonition} from '#/components/Admonition'
import {Button} from '#/components/Button'
import * as FeedCard from '#/components/FeedCard'
import {ChevronBottom_Stroke2_Corner0_Rounded as ChevronDownIcon} from '#/components/icons/Chevron'
@@ -141,6 +142,10 @@ type ExploreScreenItems =
profile: AppBskyActorDefs.ProfileViewBasic
recId?: number
}
+ | {
+ type: 'profileEmpty'
+ key: 'profileEmpty'
+ }
| {
type: 'feed'
key: string
@@ -329,14 +334,18 @@ export function Explore({
}
if (profileItems.length === 0) {
- // no items! remove the header
- i.pop()
+ i.push({
+ type: 'profileEmpty',
+ key: 'profileEmpty',
+ })
} else {
i.push(...profileItems)
}
} else {
- // no items! remove the header
- i.pop()
+ i.push({
+ type: 'profileEmpty',
+ key: 'profileEmpty',
+ })
}
} else {
i.push({type: 'profilePlaceholder', key: 'profilePlaceholder'})
@@ -626,6 +635,15 @@ export function Explore({
/>
)
}
+ case 'profileEmpty': {
+ return (
+
+
+ No results for "{selectedInterest}".
+
+
+ )
+ }
case 'feed': {
return (