migrate /auth/verify-email page (#18876)

This commit is contained in:
Benny Joo
2025-01-24 21:20:36 +00:00
committed by GitHub
parent 4235a36887
commit 30e576377a
4 changed files with 4 additions and 13 deletions
@@ -1,16 +1,12 @@
import { _generateMetadata } from "app/_utils";
import { WithLayout } from "app/layoutHOC";
import VerifyEmailPage from "~/auth/verify-email-view";
export const generateMetadata = async () => {
return await _generateMetadata(
() => "Verify email",
(t) => t("verify_email"),
() => ""
);
};
export default WithLayout({
getLayout: null,
Page: VerifyEmailPage,
})<"P">;
export default VerifyEmailPage;
+1
View File
@@ -163,6 +163,7 @@ export const config = {
"/auth/signin",
"/auth/oauth2/authorize",
"/auth/platform/authorize",
"/auth/verify-email",
/**
* Paths required by routingForms.handle
*/
-7
View File
@@ -1,7 +0,0 @@
import PageWrapper from "@components/PageWrapper";
import VerifyEmail from "~/auth/verify-email-view";
const Page = () => <VerifyEmail />;
Page.PageWrapper = PageWrapper;
export default Page;
@@ -2941,5 +2941,6 @@
"add_preset" : "Add Preset",
"authorize": "Authorize",
"next": "Next",
"verify_email": "Verify email",
"ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"
}