aboutsummaryrefslogtreecommitdiff
path: root/src/components/comments/CommentsCount.tsx
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-10-27 14:16:50 -0700
committerGitHub <noreply@github.com>2020-10-27 17:16:50 -0400
commit9b9b1b792f914709de01e1d502014b8deb66e291 (patch)
tree8d403d2232cfab31c590acd26222bfa476de4dee /src/components/comments/CommentsCount.tsx
parent9c7a867c1851914322a4b60f20223ae06a31c661 (diff)
[HOT FIX] Fix stack navigation (#78)
* Fix stack navigation * Fix stack navigation
Diffstat (limited to 'src/components/comments/CommentsCount.tsx')
-rw-r--r--src/components/comments/CommentsCount.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/comments/CommentsCount.tsx b/src/components/comments/CommentsCount.tsx
index 74b4194c..bd87a2b2 100644
--- a/src/components/comments/CommentsCount.tsx
+++ b/src/components/comments/CommentsCount.tsx
@@ -22,7 +22,7 @@ const CommentsCount: React.FC<CommentsCountProps> = ({
}) => {
const navigation = useNavigation();
const navigateToCommentsScreen = async () => {
- navigation.navigate('MomentCommentsScreen', {
+ navigation.push('MomentCommentsScreen', {
isProfileView: isProfileView,
moment_id: moment_id,
});