Skip to content

Commit 27548d0

Browse files
committed
fix: replace to display
1 parent 65e2303 commit 27548d0

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

src/containers/post/HorizontalBanner.tsx

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,14 @@ function HorizontalBanner({ isDisplayAd = false }: Props) {
1818

1919
return (
2020
<StyledResponsive onClick={onClick}>
21-
{isDisplayAd ? (
22-
<ins
23-
className="adsbygoogle"
24-
style={{ display: 'block' }}
25-
data-ad-client="ca-pub-5574866530496701"
26-
data-ad-slot="8809887603"
27-
data-ad-format="auto"
28-
data-full-width-responsive="true"
29-
></ins>
30-
) : (
31-
<ins
32-
className="adsbygoogle"
33-
style={{ display: 'block', textAlign: 'center' }}
34-
data-ad-layout="in-article"
35-
data-ad-format="fluid"
36-
data-ad-client="ca-pub-5574866530496701"
37-
data-ad-slot="1310741884"
38-
></ins>
39-
)}
21+
<ins
22+
className="adsbygoogle"
23+
style={{ display: 'block', textAlign: 'center' }}
24+
data-ad-client="ca-pub-5574866530496701"
25+
data-ad-slot="7675625634"
26+
data-ad-format="auto"
27+
data-full-width-responsive="true"
28+
></ins>
4029
</StyledResponsive>
4130
);
4231
}

0 commit comments

Comments
 (0)