diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-05 21:03:32 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-05 21:03:32 -0800 |
commit | 0f7d20710e8955a670eb46c1aa2ba4ca2208934e (patch) | |
tree | 993125c6a09124a6d222f65464c82669b0757a81 /src | |
parent | ab7613230603732251dd64607f2b85b21dcff1b7 (diff) |
missed an import
Diffstat (limited to 'src')
-rw-r--r-- | src/components/search/SearchCategories.tsx | 1 | ||||
-rw-r--r-- | src/screens/search/SearchScreen.tsx | 1 |
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, |