aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-03-05 21:03:32 -0800
committerShravya Ramesh <shravs1208@gmail.com>2021-03-05 21:03:32 -0800
commit0f7d20710e8955a670eb46c1aa2ba4ca2208934e (patch)
tree993125c6a09124a6d222f65464c82669b0757a81
parentab7613230603732251dd64607f2b85b21dcff1b7 (diff)
missed an import
-rw-r--r--src/components/search/SearchCategories.tsx1
-rw-r--r--src/screens/search/SearchScreen.tsx1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/components/search/SearchCategories.tsx b/src/components/search/SearchCategories.tsx
index b674c963..3096b343 100644
--- a/src/components/search/SearchCategories.tsx
+++ b/src/components/search/SearchCategories.tsx
@@ -31,6 +31,7 @@ const SearchCategories: React.FC = () => {
style={styles.gradientContainer}>
<TouchableOpacity
style={styles.buttonContainer}
+ key={searchCategory.id}
onPress={() => {
navigation.navigate('DiscoverUsers', {
searchCategory,
diff --git a/src/screens/search/SearchScreen.tsx b/src/screens/search/SearchScreen.tsx
index d986b152..3b73229f 100644
--- a/src/screens/search/SearchScreen.tsx
+++ b/src/screens/search/SearchScreen.tsx
@@ -8,6 +8,7 @@ import {useDispatch, useSelector} from 'react-redux';
import {
RecentSearches,
SearchBar,
+ SearchCategories,
SearchResultList,
SearchResultsBackground,
TabsGradient,