Skip to content

Commit 062742f

Browse files
committed
comments
1 parent 3590700 commit 062742f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/fetch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ export function mapResponseToPlacementsWithContent(response: AdResponse, placeme
138138
const placementId = placementWithContent.placementId
139139
const contentFromServer = response[placementId]?.[0]
140140
if (!contentFromServer) {
141-
// If a single ad placement is missing from the response, we fill that slot if a single fallback if able
141+
// If an ad placement is missing from the response, we fill that slot if a single fallback if able
142142

143143
if (!placementWithContent.fixedSize) {
144-
// Without a fixedSize, we cannot fallback to anything, so we give it an empty object
144+
// Without a fixedSize, we cannot fallback to anything, so we give it an empty object to let future steps know loading is complete.
145145
placementWithContent.content = {}
146146
continue
147147
}

0 commit comments

Comments
 (0)