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)
|
me && saveTip(me, comment, localTip - savedTip + delta)
|
||||||
}
|
}
|
||||||
|
|
||||||
const canUp =
|
if (me && comment.userId === me.id) {
|
||||||
me && me.id !== comment.userId && me.balance >= localTip + TIP_SIZE
|
return <></>
|
||||||
|
}
|
||||||
|
|
||||||
|
const canUp = me && me.balance >= localTip + TIP_SIZE
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Row className="items-center gap-0.5">
|
<Row className="items-center gap-0.5">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user