fix(SW-1089): move text with anchor links outside of label

This commit is contained in:
Chuma McPhoy
2024-12-02 11:47:02 +01:00
parent ccb61c27c0
commit f5fbb44ec7

View File

@@ -160,6 +160,9 @@ export default function SignupForm({ link, subtitle, title }: SignUpFormProps) {
</Subtitle> </Subtitle>
</header> </header>
<Checkbox name="termsAccepted" registerOptions={{ required: true }}> <Checkbox name="termsAccepted" registerOptions={{ required: true }}>
{intl.formatMessage({ id: "I accept the terms and conditions" })}
</Checkbox>
{/* TODO: Update copy once ready */}
<Body> <Body>
{intl.formatMessage<React.ReactNode>( {intl.formatMessage<React.ReactNode>(
{ id: "signupPage.terms" }, { id: "signupPage.terms" },
@@ -187,7 +190,6 @@ export default function SignupForm({ link, subtitle, title }: SignUpFormProps) {
} }
)} )}
</Body> </Body>
</Checkbox>
</section> </section>
{/* {/*