hide tips for self
This commit is contained in:
parent
297f845ef1
commit
b2953b0e42
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue
Block a user