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