Files
calendar/apps/web/app/future/auth/error/page.tsx
T
Benny JooandGitHub 26be88fc56 chore: App-router-migration /auth/error, /auth/platform, /auth/oauth2 (#16445)
* preparePageMetadata: improve logic for title

* add missing pages: oauth2 / platform

* auth/error: add to app router and extract to /modules
2024-09-04 13:15:19 +00:00

20 lines
538 B
TypeScript

import { withAppDirSsg } from "app/WithAppDirSsg";
import { _generateMetadata } from "app/_utils";
import { WithLayout } from "app/layoutHOC";
import { getStaticProps } from "@server/lib/auth/error/getStaticProps";
import Page from "~/auth/error/error-view";
export const generateMetadata = async () => {
return await _generateMetadata(
() => "Error",
() => ""
);
};
const getData = withAppDirSsg(getStaticProps);
export default WithLayout({ getData, Page, getLayout: null })<"P">;
export const dynamic = "force-static";