Scheduling infrastructure for absolutely everyone.
fix: add missing metadata to /auth/setup (#19035)
Benny Joodde76ed74d9d
diff --git a/apps/web/app/(use-page-wrapper)/auth/setup/page.tsx b/apps/web/app/(use-page-wrapper)/auth/setup/page.tsxindex 3115454d775..ff6768e7cc3 100644--- a/apps/web/app/(use-page-wrapper)/auth/setup/page.tsx+++ b/apps/web/app/(use-page-wrapper)/auth/setup/page.tsx@@ -1,5 +1,6 @@import { withAppDirSsr } from "app/WithAppDirSsr";import type { PageProps as ServerPageProps } from "app/_types";+import { _generateMetadata } from "app/_utils";import { cookies, headers } from "next/headers";import { buildLegacyCtx } from "@lib/buildLegacyCtx";@@ -9,6 +10,13 @@ import { getServerSideProps } from "@server/lib/setup/getServerSideProps";import Setup from "~/auth/setup-view";import type { PageProps as ClientPageProps } from "~/auth/setup-view";+export const generateMetadata = async () => {+ return await _generateMetadata(+ (t) => t("setup"),+ (t) => t("setup_description")+ );+};+const getData = withAppDirSsr<ClientPageProps>(getServerSideProps);const ServerPage = async ({ params, searchParams }: ServerPageProps) => {