From 0b0b84a6ad7da0b5d5fa3f4f53f3bcf29d9d18af Mon Sep 17 00:00:00 2001 From: mantikoros Date: Sat, 1 Oct 2022 16:22:19 -0500 Subject: [PATCH] show tips on own comments again --- web/components/tipper.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/web/components/tipper.tsx b/web/components/tipper.tsx index a8c7cb4e..9d5cac84 100644 --- a/web/components/tipper.tsx +++ b/web/components/tipper.tsx @@ -74,11 +74,8 @@ export function Tipper(prop: { comment: Comment; tips: CommentTips }) { me && saveTip(me, comment, localTip - savedTip + delta) } - if (me && comment.userId === me.id) { - return <> - } - - const canUp = me && me.balance >= localTip + LIKE_TIP_AMOUNT + const canUp = + me && comment.userId !== me.id && me.balance >= localTip + LIKE_TIP_AMOUNT return (