Skip to content

Commit f2dc5fa

Browse files
committed
Shows only for guests
1 parent aa628c9 commit f2dc5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/post/PostViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ const PostViewer: React.FC<PostViewerProps> = ({
398398
}
399399
/>
400400
)}
401-
{isVeryOld && post.user.id !== userId && <HorizontalAd />}
401+
{isVeryOld && userId === null && <HorizontalAd />}
402402
<PostComments
403403
count={post.comments_count}
404404
comments={post.comments}

0 commit comments

Comments
 (0)