From 353c1ec685698bb86e0ff96a346d88205ee389cf Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Wed, 13 Jan 2021 02:58:24 -0500 Subject: [TMA-531] New Explore Page (#179) * redux done * done * added refresh control * added profile navigation * minor spacing change --- src/components/profile/ProfilePreview.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/components/profile') diff --git a/src/components/profile/ProfilePreview.tsx b/src/components/profile/ProfilePreview.tsx index bd015811..6f008540 100644 --- a/src/components/profile/ProfilePreview.tsx +++ b/src/components/profile/ProfilePreview.tsx @@ -147,7 +147,8 @@ const ProfilePreview: React.FC = ({ screenType, ); } - const userXId = loggedInUser.username === user.username ? undefined : user.id; + const userXId = + loggedInUser.username === user.username ? undefined : user.id; navigation.push('Profile', { userXId, screenType, @@ -205,7 +206,6 @@ const ProfilePreview: React.FC = ({ usernameStyle = styles.searchResultUsername; nameStyle = styles.searchResultName; } - return (