1 import React from "react"
2 import Changelog from "../../components/Changelog"
3 import { getChangelogPage } from "../../utils/changelog"
4
5 /**
6 * Renders the Cloud changelog from the entry files in
7 * `generated/changelog`. Only the first page is rendered on the server; the
8 * rest is loaded from the public `/api/changelog` endpoint as the reader asks
9 * for more.
10 */
11 export default async function ChangelogContent() {
12 const initialPage = await getChangelogPage()
13
14 return <Changelog initialPage={initialPage} />
15 }