Skip to content

Commit 88841ec

Browse files
committed
fix schema
1 parent 9b968ee commit 88841ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/AvailableChangelogFeeds.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const productsByGroup = Object.entries(
3030
<AnchorHeading depth={3} title="Global feed" />
3131
<p>
3232
This feed contains entries for all Cloudflare products in the changelog: <RSSButton
33+
changelog="index"
3334
/>
3435
</p>
3536

src/components/RSSButton.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ const props = z
66
.object({
77
changelog: z
88
.string()
9-
.transform((val) => val.toLowerCase().replaceAll(" ", "-"))
10-
.default("index"),
9+
.transform((val) => val.toLowerCase().replaceAll(" ", "-")),
1110
})
1211
.or(
1312
z.object({

0 commit comments

Comments
 (0)