Update empty state for starter pack search (#11325)

This commit is contained in:
DS Boyce
2026-07-29 10:59:01 -07:00
committed by GitHub
parent 45bdba5dfa
commit e375ceb5b8
2 changed files with 8 additions and 7 deletions
-5
View File
@@ -1216,11 +1216,6 @@
"count": 1
}
},
"src/screens/StarterPack/Wizard/StepProfiles.tsx": {
"typescript/no-misused-promises": {
"count": 1
}
},
"src/screens/StarterPack/Wizard/index.tsx": {
"typescript/no-floating-promises": {
"count": 2
@@ -87,7 +87,9 @@ export function StepProfiles({
sideBorders={false}
style={[a.flex_1]}
onEndReached={
!query && !screenReaderEnabled ? () => fetchNextPage() : undefined
!query && !screenReaderEnabled
? () => void fetchNextPage()
: undefined
}
onEndReachedThreshold={IS_NATIVE ? 2 : 0.25}
keyboardDismissMode="on-drag"
@@ -104,7 +106,11 @@ export function StepProfiles({
a.mt_lg,
a.leading_snug,
]}>
<Trans>Nobody was found. Try searching for someone else.</Trans>
{query ? (
<Trans>
Nobody was found. Try searching for someone else.
</Trans>
) : null}
</Text>
)}
</View>