removed the help section on registration

This commit is contained in:
2026-02-27 09:04:01 +00:00
parent 92eb0c5a15
commit 610056849d
+16 -55
View File
@@ -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"}
</h1>
)}
<RegisterForm
@@ -105,46 +106,6 @@ const Home = (props) => {
}
/>
</div>
{registerFormComplete != true ||
accountCreatedComplete != true ? (
<div className="govuk-grid-column-one-third">
<h2 className="">
{t("account:help-heading")}
</h2>
<h3>
{t(
"account:help-sub-heading-1"
)}
</h3>
<p className="govuk-body">
{t("account:help-paragraph-1")}
</p>
<h3>
{t(
"account:help-sub-heading-2"
)}
</h3>
<p className="govuk-body">
{t("account:help-paragraph-2")}
</p>
<h3>
{t(
"account:help-sub-heading-3"
)}
</h3>
<p className="govuk-body">
{t("account:help-paragraph-3")}
</p>
</div>
) : (
""
)}
</div>
</main>
</div>
@@ -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
};
};