From 610056849d7e48be540006aee148bd2a5af0d00b Mon Sep 17 00:00:00 2001 From: robbond Date: Fri, 27 Feb 2026 09:04:01 +0000 Subject: [PATCH] removed the help section on registration --- pages/account/register.js | 71 +++++++++------------------------------ 1 file changed, 16 insertions(+), 55 deletions(-) diff --git a/pages/account/register.js b/pages/account/register.js index cfe416d7..74470b6c 100644 --- a/pages/account/register.js +++ b/pages/account/register.js @@ -74,16 +74,17 @@ const Home = (props) => { "account:register-new-account-checking-label" ) : props.accountDetails - .accCr === "created" - ? t( - "account:register-new-account-status-created-label" - ) - : props.accountDetails - .accCr === "exists" - ? t( - "account:register-new-account-status-not-created-label" - ) - : "wewer"} + .accCr === "created" + ? t( + "account:register-new-account-status-created-label" + ) + : props.accountDetails + .accCr === + "exists" + ? t( + "account:register-new-account-status-not-created-label" + ) + : "wewer"} )} { } /> - {registerFormComplete != true || - accountCreatedComplete != true ? ( -
-

- {t("account:help-heading")} -

- -

- {t( - "account:help-sub-heading-1" - )} -

- -

- {t("account:help-paragraph-1")} -

- -

- {t( - "account:help-sub-heading-2" - )} -

- -

- {t("account:help-paragraph-2")} -

- -

- {t( - "account:help-sub-heading-3" - )} -

- -

- {t("account:help-paragraph-3")} -

-
- ) : ( - "" - )} @@ -175,15 +136,15 @@ export const getServerSideProps = wrapper.getServerSideProps( return { redirect: { destination: "/auth/signin", - permanent: false, - }, + permanent: false + } }; } return { props: { - loggedInUserEmail: thisSession.user.email, - }, + loggedInUserEmail: thisSession.user.email + } }; } ); @@ -196,7 +157,7 @@ const mapStateToProps = (state) => { appealType: state.appealType, LPAData: state.LPAData, form: state.form, - accountDetails: state.accountDetails, + accountDetails: state.accountDetails }; };