fix: oops

This commit is contained in:
Adrian Castro
2024-03-09 19:09:26 +01:00
parent 284ead8f75
commit 69bcb97889

View File

@@ -25,7 +25,7 @@ export default function TabLayout() {
tabPress: () => { tabPress: () => {
void Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light); void Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light);
switch (route.name) { switch (route.name) {
case "index": case "search":
focusSearchInputRef.current(); focusSearchInputRef.current();
break; break;
} }