show comment sats on hover
This commit is contained in:
parent
04d7e9c0ee
commit
0f5fc31803
|
@ -117,7 +117,7 @@ export default function Comment ({
|
|||
<span> \ </span>
|
||||
</>}
|
||||
<Link href={`/items/${item.id}`} passHref>
|
||||
<a className='text-reset'>{item.ncomments} replies</a>
|
||||
<a title={`${item.commentSats} sats`} className='text-reset'>{item.ncomments} replies</a>
|
||||
</Link>
|
||||
<span> \ </span>
|
||||
<Link href={`/${item.user.name}`} passHref>
|
||||
|
|
|
@ -82,7 +82,7 @@ export default function Item ({ item, rank, showFwdUser, toc, children }) {
|
|||
<span> \ </span>
|
||||
</>}
|
||||
<Link href={`/items/${item.id}`} passHref>
|
||||
<a className='text-reset'>{item.ncomments} comments</a>
|
||||
<a title={`${item.commentSats} sats`} className='text-reset'>{item.ncomments} comments</a>
|
||||
</Link>
|
||||
<span> \ </span>
|
||||
<span>
|
||||
|
|
|
@ -15,6 +15,7 @@ export const COMMENT_FIELDS = gql`
|
|||
boost
|
||||
meSats
|
||||
path
|
||||
commentSats
|
||||
mine
|
||||
paidImgLink
|
||||
ncomments
|
||||
|
|
Loading…
Reference in New Issue