We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a55763 commit 0bde481Copy full SHA for 0bde481
src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js
@@ -179,9 +179,7 @@ export default {
179
query.chunks
180
.map(({chunk}) => chunk
181
.map(({annotation}) =>
182
- (annotation
183
- ? relation('transformContent', annotation)
184
- : null))),
+ relation('transformContent', annotation))),
185
}),
186
187
data: (query) => ({
@@ -232,12 +230,10 @@ export default {
232
230
}).map(({item, link, annotation, type}) =>
233
231
item.slots({
234
annotation:
235
236
- ? annotation.slots({
237
- mode: 'inline',
238
- absorbPunctuationFollowingExternalLinks: false,
239
- })
240
- : null),
+ annotation.slots({
+ mode: 'inline',
+ absorbPunctuationFollowingExternalLinks: false,
+ }),
241
242
content:
243
(type === 'album'
0 commit comments