diff --git a/src/pages/Search/SearchPageBottomTab.tsx b/src/pages/Search/SearchPageBottomTab.tsx
index 38e4c5166884..c72462d1f66e 100644
--- a/src/pages/Search/SearchPageBottomTab.tsx
+++ b/src/pages/Search/SearchPageBottomTab.tsx
@@ -102,12 +102,12 @@ function SearchPageBottomTab() {
isCustomSearchQuery={shouldUseNarrowLayout && !SearchUtils.isCannedSearchQuery(queryJSON)}
/>
-
-
- {shouldUseNarrowLayout && (
+ {shouldUseNarrowLayout ? (
+
+
- )}
-
+
+ ) : (
+
+ )}
>
) : (