We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3566dc1 commit f4f1425Copy full SHA for f4f1425
packages/gitbook/src/components/Ads/Ad.tsx
@@ -79,7 +79,8 @@ export function Ad({
79
const showPlaceholderAd =
80
previewParam === 'placeholder' ||
81
(siteAdsStatus &&
82
- (siteAdsStatus === SiteAdsStatus.Pending || siteAdsStatus === SiteAdsStatus.InReview))
+ (siteAdsStatus === SiteAdsStatus.Pending ||
83
+ siteAdsStatus === SiteAdsStatus.InReview));
84
85
if (!realZoneId) {
86
return;
@@ -91,7 +92,7 @@ export function Ad({
91
92
ignore: ignore || preview,
93
zoneId: realZoneId,
94
mode,
- source: showPlaceholderAd ? 'placeholder' : 'live'
95
+ source: showPlaceholderAd ? 'placeholder' : 'live',
96
});
97
98
if (cancelled) {
0 commit comments