aboutsummaryrefslogtreecommitdiff
path: root/src/services/CommentService.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/CommentService.ts')
-rw-r--r--src/services/CommentService.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/services/CommentService.ts b/src/services/CommentService.ts
index 7ede11cc..910f4fa6 100644
--- a/src/services/CommentService.ts
+++ b/src/services/CommentService.ts
@@ -162,7 +162,6 @@ export const handleLikeUnlikeComment = async (comment: CommentBaseType) => {
});
return response.status === 200;
}
- return undefined;
} catch (error) {
console.log('Unable to like/unlike a comment');
console.error(error);