Skip to content

Commit a4c1a44

Browse files
committed
Show ads to not logged in users
1 parent 8576cd4 commit a4c1a44

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
@@ -370,7 +370,7 @@ const PostViewer: React.FC<PostViewerProps> = ({
370370
<RelatedPost
371371
showAds={
372372
Date.now() - new Date(post.released_at).getTime() >
373-
1000 * 60 * 60 * 24 * 30 * 3
373+
1000 * 60 * 60 * 24 * 30 * 3 && userId === null
374374
}
375375
/>
376376
<PostComments

0 commit comments

Comments
 (0)