File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ const AdBlock = styled.div<{ width: number; height: number }>`
2222 // background: #e0e0e0;
2323 // border-radius: 4px;
2424 display: flex;
25- align-items: center;
26- justify-content: center;
2725 // color: #666;
2826 // font-size: 14px;
2927` ;
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ const PostViewer: React.FC<PostViewerProps> = ({
173173 const postReady = ! ! data ?. post ;
174174
175175 const shouldShowAds = useMemo ( ( ) => {
176- // 14일 이상된 게시글에선 비로그인 사용자에게 광고가 노출됩니다.
176+ // 10일 이상된 게시글에선 비로그인 사용자에게 사이드바 광고가 노출됩니다.
177177 if ( ! data ?. post ) {
178178 return false ;
179179 }
@@ -184,7 +184,7 @@ const PostViewer: React.FC<PostViewerProps> = ({
184184
185185 const isOldEnough =
186186 Date . now ( ) - new Date ( data ?. post ?. released_at ) . getTime ( ) >
187- 1000 * 60 * 60 * 24 * 14 ;
187+ 1000 * 60 * 60 * 24 * 10 ;
188188
189189 if ( ! isOldEnough ) {
190190 return false ;
You can’t perform that action at this time.
0 commit comments