Update empty state for starter pack search (#11325)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user