diff --git a/src/app/ui/forms/register-form.tsx b/src/app/ui/forms/register-form.tsx index c990c9e..89e52b9 100644 --- a/src/app/ui/forms/register-form.tsx +++ b/src/app/ui/forms/register-form.tsx @@ -121,8 +121,13 @@ export default function RegisterForm() { {formState?.error?.fullName && (
{
- formState?.error?.fullName.split('&').map((e) => {
- return t(e) + " "
+ formState?.error?.fullName.split('&').map((e, index) => {
+ return (
+
+ {t(e)}
+
+
+ )
})
}
{
- formState?.error?.email.split('&').map((e) => {
- return t(e) + " "
+ formState?.error?.email.split('&').map((e, index) => {
+ return (
+
+ {t(e)}
+
+
+ )
})
}
{
- formState?.error?.password.split('&').map((e) => {
- return t(e)
+ formState?.error?.password.split('&').map((e, index) => {
+ return (
+
+ {t(e)}
+
+
+ )
})
}