migrate /auth/verify-email page (#18876)
This commit is contained in:
+2
-6
@@ -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;
|
||||
@@ -163,6 +163,7 @@ export const config = {
|
||||
"/auth/signin",
|
||||
"/auth/oauth2/authorize",
|
||||
"/auth/platform/authorize",
|
||||
"/auth/verify-email",
|
||||
/**
|
||||
* Paths required by routingForms.handle
|
||||
*/
|
||||
|
||||
@@ -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 ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user