Update post-comments.tsx
This commit is contained in:
parent
83d9a1f3e2
commit
e9050973e1
|
@ -166,8 +166,8 @@ export function PostComment(props: {
|
||||||
)}
|
)}
|
||||||
<Tipper
|
<Tipper
|
||||||
comment={comment}
|
comment={comment}
|
||||||
myTip={me ? tips[me.id] ?? 0 : 0}
|
myTip={me ? tips?.[me.id] ?? 0 : 0}
|
||||||
totalTip={sum(Object.values(tips))}
|
totalTip={sum(Object.values(tips ?? {}))}
|
||||||
/>
|
/>
|
||||||
</Row>
|
</Row>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user