diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-11 17:55:43 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-11 17:55:43 -0400 |
commit | 58ab56d0b03491dd062d09e2ee96fe8f88e74bc9 (patch) | |
tree | 38f836031c042e254d412b60ba7436431379bbeb /src/screens/profile/CommentReactionScreen.tsx | |
parent | 69c07634befdad4be416df843ecb803e760c5883 (diff) |
fixed issue, basic functionality working
Diffstat (limited to 'src/screens/profile/CommentReactionScreen.tsx')
-rw-r--r-- | src/screens/profile/CommentReactionScreen.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/profile/CommentReactionScreen.tsx b/src/screens/profile/CommentReactionScreen.tsx index 488497ee..0596a184 100644 --- a/src/screens/profile/CommentReactionScreen.tsx +++ b/src/screens/profile/CommentReactionScreen.tsx @@ -29,7 +29,7 @@ const CommentReactionScreen: React.FC<CommentReactionScreenProps> = ({ const loadUsers = async () => { const response = await getUsersReactedToAComment(comment); if (response.length !== 0) { - setUsers(users); + setUsers(response); } else { Alert.alert(ERROR_SOMETHING_WENT_WRONG); navigation.goBack(); |