aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-10 15:52:06 -0400
committerIvan Chen <ivan@tagg.id>2021-05-10 16:50:42 -0400
commit3dd918e6a981645cd7bed7d32425ac64cb9af601 (patch)
tree93a7ed975694a2aaee46224ce7a9b6df12796757 /src
parent6674e928c3621c742b56842db9e01d665a244ad3 (diff)
cleaned up code
Diffstat (limited to 'src')
-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);