diff options
| author | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-05 08:37:03 -0800 |
|---|---|---|
| committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-05 08:37:03 -0800 |
| commit | 7d883c5946214c91b922b2c5eb310203dec02025 (patch) | |
| tree | 39acf1e9a4bca1f7e74e45a359470813f81ae2d6 /src/components | |
| parent | ac3bff11b72792337c6260f29366aba0c8fc26dd (diff) | |
done; Pending: icons
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/search/ExploreSection.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/search/ExploreSection.tsx b/src/components/search/ExploreSection.tsx index 025c8c3c..53073a9e 100644 --- a/src/components/search/ExploreSection.tsx +++ b/src/components/search/ExploreSection.tsx @@ -14,7 +14,7 @@ interface ExploreSectionProps { users: ProfilePreviewType[]; } const ExploreSection: React.FC<ExploreSectionProps> = ({title, users}) => { - return users.length !== 0 ? ( + return users?.length !== 0 ? ( <View style={styles.container}> <Text style={styles.header}>{title}</Text> <FlatList |
