From e375ceb5b8749fe6149bee8d17feac751c7e0e77 Mon Sep 17 00:00:00 2001
From: DS Boyce <260543580+ds-boyce@users.noreply.github.com>
Date: Wed, 29 Jul 2026 10:59:01 -0700
Subject: [PATCH] Update empty state for starter pack search (#11325)
---
oxlint-suppressions.json | 5 -----
src/screens/StarterPack/Wizard/StepProfiles.tsx | 10 ++++++++--
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/oxlint-suppressions.json b/oxlint-suppressions.json
index 996b647227..8b133a0912 100644
--- a/oxlint-suppressions.json
+++ b/oxlint-suppressions.json
@@ -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
diff --git a/src/screens/StarterPack/Wizard/StepProfiles.tsx b/src/screens/StarterPack/Wizard/StepProfiles.tsx
index 4aef058b27..9f3b7076fd 100644
--- a/src/screens/StarterPack/Wizard/StepProfiles.tsx
+++ b/src/screens/StarterPack/Wizard/StepProfiles.tsx
@@ -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,
]}>
- Nobody was found. Try searching for someone else.
+ {query ? (
+
+ Nobody was found. Try searching for someone else.
+
+ ) : null}
)}