-
-
-
-
{t(`authentication.terms.reviewToc`)}
-
- {t(`authentication.terms.youMustAcceptToc`)}
-
-
-
-
-
+
+
{
errorMessage={t("errors.agreeError")}
dataTestId="agree"
/>
-
-
-
-
-
-
+
+
+
-
-
-
-
+
+
+
+
)
}
diff --git a/sites/partners/src/components/users/FormUserConfirm.tsx b/sites/partners/src/components/users/FormUserConfirm.tsx
index 594eded05a..7be639e3ad 100644
--- a/sites/partners/src/components/users/FormUserConfirm.tsx
+++ b/sites/partners/src/components/users/FormUserConfirm.tsx
@@ -1,12 +1,17 @@
import React, { useRef, useContext, useEffect, useState } from "react"
import { useRouter } from "next/router"
-import { t, FormCard, Form, Field, useMutate, AlertBox } from "@bloom-housing/ui-components"
-import { Button, Dialog, Icon } from "@bloom-housing/ui-seeds"
-import { AuthContext, MessageContext, passwordRegex } from "@bloom-housing/shared-helpers"
+import { t, Field, useMutate } from "@bloom-housing/ui-components"
+import { Alert, Button, Card, Dialog } from "@bloom-housing/ui-seeds"
+import {
+ AuthContext,
+ BloomCard,
+ Form,
+ MessageContext,
+ passwordRegex,
+} from "@bloom-housing/shared-helpers"
import { useForm } from "react-hook-form"
import { ReRequestConfirmation } from "./ReRequestConfirmation"
import { SuccessDTO } from "@bloom-housing/shared-helpers/src/types/backend-swagger"
-import Cog8ToothIcon from "@heroicons/react/24/solid/Cog8ToothIcon"
type FormUserConfirmFields = {
password: string
@@ -81,44 +86,38 @@ const FormUserConfirm = () => {
if (!token) {
return (
-
-
- {t(`authentication.createAccount.errors.tokenMissing`)}
-
-
+
+ {t(`authentication.createAccount.errors.tokenMissing`)}
+
)
}
return (
<>
-
-
-
-
-
-
{t("users.addPassword")}
-
{t("users.needUniquePassword")}
-
- {isError && (
-
- {t(`errors.alert.badRequest`)}
-
- )}
-
- {newConfirmationRequested && (
-
- {t(`users.confirmationSent`)}
-
- )}
-
-
+
-
+