20 lines
559 B
TypeScript
20 lines
559 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, "future/auth/error");
|
|
|
|
export default WithLayout({ getData, Page, getLayout: null })<"P">;
|
|
export const dynamic = "force-static";
|