diff --git a/src/components/verify_email/thank_you.tsx b/src/components/verify_email/thank_you.tsx index c670bfd..8b84501 100644 --- a/src/components/verify_email/thank_you.tsx +++ b/src/components/verify_email/thank_you.tsx @@ -26,19 +26,21 @@ const ThankYou: FC = () => {
Thank you for completing the form and verifying your email!

This is the data you entered:
- - - {Object.entries(formData).map(([key, value]) => ( - - - - - ))} - -
{key}{value}
-
+ {Object.entries(formData).map(([key, value]) => ( +
+

{key}

+ { + value + .split("\n") + .filter(str => str.trim() !== "") + .map((str, index) =>

{str}

) + } +
+ ))} - ); + +) + ; }