aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-03-05 08:37:03 -0800
committerShravya Ramesh <shravs1208@gmail.com>2021-03-05 08:37:03 -0800
commit7d883c5946214c91b922b2c5eb310203dec02025 (patch)
tree39acf1e9a4bca1f7e74e45a359470813f81ae2d6 /src/components
parentac3bff11b72792337c6260f29366aba0c8fc26dd (diff)
done; Pending: icons
Diffstat (limited to 'src/components')
-rw-r--r--src/components/search/ExploreSection.tsx2
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