aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/profile/SocialMediaTaggs.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/profile/SocialMediaTaggs.tsx b/src/screens/profile/SocialMediaTaggs.tsx
index ddbebcea..c82a310e 100644
--- a/src/screens/profile/SocialMediaTaggs.tsx
+++ b/src/screens/profile/SocialMediaTaggs.tsx
@@ -43,10 +43,10 @@ const SocialMediaTaggs: React.FC<SocialMediaTaggsProps> = ({route}) => {
// const {socialMediaType, socialMediaHandle} = route.params;
const {instaPosts} = context;
const socialMediaType = 'Instagram';
- const socialMediaHandle = instaPosts[0].username;
+ const socialMediaHandle =
+ instaPosts ? instaPosts[0].username : '_';
const headerHeight = headerBarHeightWithImage();
- console.log(headerHeight);
return (
<LinearGradient