Skip to content

Commit ca8513c

Browse files
committed
bun format
1 parent 049cffe commit ca8513c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/gitbook/src/components/Ads/Ad.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ export function Ad({
7979
const showPlaceholderAd =
8080
previewParam === 'placeholder' ||
8181
(siteAdsStatus &&
82-
(siteAdsStatus === SiteAdsStatus.Pending || siteAdsStatus === SiteAdsStatus.InReview))
82+
(siteAdsStatus === SiteAdsStatus.Pending ||
83+
siteAdsStatus === SiteAdsStatus.InReview));
8384

8485
if (!realZoneId) {
8586
return;
@@ -91,7 +92,7 @@ export function Ad({
9192
ignore: ignore || preview,
9293
zoneId: realZoneId,
9394
mode,
94-
source: showPlaceholderAd ? 'placeholder' : 'live'
95+
source: showPlaceholderAd ? 'placeholder' : 'live',
9596
});
9697

9798
if (cancelled) {

packages/gitbook/src/components/Ads/renderAd.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ import { headers } from 'next/headers';
55
import { AdClassicRendering } from './AdClassicRendering';
66
import { AdCoverRendering } from './AdCoverRendering';
77
import { AdPixels } from './AdPixels';
8-
import adRainbow from './assets/ad-rainbow.svg'
8+
import adRainbow from './assets/ad-rainbow.svg';
99
import { AdItem, AdsResponse } from './types';
1010

11-
1211
interface FetchAdOptions {
1312
/** ID of the zone to fetch Ads for */
1413
zoneId: string;
@@ -20,7 +19,7 @@ interface FetchAdOptions {
2019
ignore: boolean;
2120
/**
2221
* Source of the ad (live: from the platform, placeholder: static placeholder)
23-
*
22+
*
2423
* Defaults to live.
2524
* */
2625
source?: 'live' | 'placeholder';

0 commit comments

Comments
 (0)