remove sats info from ads

This commit is contained in:
keyan 2023-08-16 17:58:43 -05:00
parent 7235a4a54f
commit c6cc7510c7
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ import BookmarkDropdownItem from './bookmark'
import SubscribeDropdownItem from './subscribe'
import { CopyLinkDropdownItem } from './share'
import Hat from './hat'
import { AD_USER_ID } from '../lib/constants'
export default function ItemInfo ({
item, pendingSats, full, commentsText = 'comments',
@ -41,7 +42,7 @@ export default function ItemInfo ({
return (
<div className={className || `${styles.other}`}>
{!item.position &&
{!item.position && !(!item.parentId && Number(item.user?.id) === AD_USER_ID) &&
<>
<span title={`from ${numWithUnits(item.upvotes, {
abbreviate: false,