aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/CommentReactionScreen.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/profile/CommentReactionScreen.tsx')
-rw-r--r--src/screens/profile/CommentReactionScreen.tsx2
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();