From fee54ee51b0fa242156d532da9642da01c5c0212 Mon Sep 17 00:00:00 2001 From: Alano Terblanche <18033717+Benehiko@users.noreply.github.com> Date: Tue, 10 Oct 2023 17:56:48 +0200 Subject: [PATCH] chore: remove hard-coded title in examples --- examples/nextjs-spa/src/pages/registration.tsx | 1 - examples/preact-spa/src/login.tsx | 1 - examples/preact-spa/src/recovery.tsx | 1 - examples/preact-spa/src/register.tsx | 1 - examples/preact-spa/src/verification.tsx | 1 - 5 files changed, 5 deletions(-) diff --git a/examples/nextjs-spa/src/pages/registration.tsx b/examples/nextjs-spa/src/pages/registration.tsx index 81bed7bd2..54d22e42d 100644 --- a/examples/nextjs-spa/src/pages/registration.tsx +++ b/examples/nextjs-spa/src/pages/registration.tsx @@ -98,7 +98,6 @@ const Registration: NextPageWithLayout = () => { // create a registration form that dynamically renders based on the flow data using Ory Elements { forgotPasswordURL: "/recovery", signupURL: "/registration", }} - title={"Login"} includeScripts={true} onSubmit={({ body }) => submitFlow(body as UpdateLoginFlowBody)} /> diff --git a/examples/preact-spa/src/recovery.tsx b/examples/preact-spa/src/recovery.tsx index 06dc1cda3..d48180ae1 100644 --- a/examples/preact-spa/src/recovery.tsx +++ b/examples/preact-spa/src/recovery.tsx @@ -64,7 +64,6 @@ export const Recovery = () => { return flow ? ( { { additionalProps={{ signupURL: "/registration", }} - title="Verification" // submit the verification form data to Ory onSubmit={({ body }) => submitFlow(body as UpdateVerificationFlowBody)} />