From 9b9b1b792f914709de01e1d502014b8deb66e291 Mon Sep 17 00:00:00 2001
From: Ashm Walia <40498934+ashmgarv@users.noreply.github.com>
Date: Tue, 27 Oct 2020 14:16:50 -0700
Subject: [HOT FIX] Fix stack navigation (#78)

* Fix stack navigation

* Fix stack navigation
---
 src/components/profile/ProfilePreview.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/profile/ProfilePreview.tsx')

diff --git a/src/components/profile/ProfilePreview.tsx b/src/components/profile/ProfilePreview.tsx
index c527746a..ec0be50c 100644
--- a/src/components/profile/ProfilePreview.tsx
+++ b/src/components/profile/ProfilePreview.tsx
@@ -132,11 +132,11 @@ const ProfilePreview: React.FC<ProfilePreviewProps> = ({
       loadProfile(user.id, user.username);
       updateMoments(true);
       if (!isComment) {
-        navigation.navigate('Profile', {
+        navigation.push('Profile', {
           isProfileView: true,
         });
       } else {
-        navigation.navigate('ProfileView', {
+        navigation.push('ProfileView', {
           isProfileView: true,
         });
       }
-- 
cgit v1.2.3-70-g09d2

