show comment sats on hover

This commit is contained in:
keyan 2022-09-02 08:19:25 -05:00
parent 04d7e9c0ee
commit 0f5fc31803
3 changed files with 3 additions and 2 deletions

View File

@ -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>

View File

@ -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>

View File

@ -15,6 +15,7 @@ export const COMMENT_FIELDS = gql`
boost
meSats
path
commentSats
mine
paidImgLink
ncomments