diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-03-12 14:17:55 -0500 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-03-12 14:17:55 -0500 |
| commit | 4a05b26c5c32980ac18c832cc4dd74c6c93922a8 (patch) | |
| tree | ce2c0e37f545d6167ffc2dc024dd2683648c9bdc /src/components/search/SearchResultCell.tsx | |
| parent | b568f553c4ee2f0452f6bb7ab7b03c84d77c15ab (diff) | |
using discover/get_users, updated route params, cleaned up code
Diffstat (limited to 'src/components/search/SearchResultCell.tsx')
| -rw-r--r-- | src/components/search/SearchResultCell.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/components/search/SearchResultCell.tsx b/src/components/search/SearchResultCell.tsx index 5cba6d2f..e0351d96 100644 --- a/src/components/search/SearchResultCell.tsx +++ b/src/components/search/SearchResultCell.tsx @@ -23,13 +23,11 @@ import { } from '../../utils/users'; interface SearchResults { - type: 'badges' | 'categories' | 'users'; profileData: ProfilePreviewType; loggedInUser: UserType; } const SearchResultsCell: React.FC<SearchResults> = ({ - type, profileData: { id, name, @@ -114,7 +112,6 @@ const SearchResultsCell: React.FC<SearchResults> = ({ const categoryObj: CategoryPreviewType = {name, category}; addCategoryToRecentlySearched(categoryObj); navigation.navigate('DiscoverUsers', { - type, searchCategory: {id, name}, }); }; |
