hide tips for self

This commit is contained in:
mantikoros 2022-10-01 15:39:12 -05:00
parent 297f845ef1
commit b2953b0e42

View File

@ -73,8 +73,11 @@ export function Tipper(prop: { comment: Comment; tips: CommentTips }) {
me && saveTip(me, comment, localTip - savedTip + delta)
}
const canUp =
me && me.id !== comment.userId && me.balance >= localTip + TIP_SIZE
if (me && comment.userId === me.id) {
return <></>
}
const canUp = me && me.balance >= localTip + TIP_SIZE
return (
<Row className="items-center gap-0.5">