diff --git a/src/components/verify_email/thank_you.tsx b/src/components/verify_email/thank_you.tsx index 8b84501..53740de 100644 --- a/src/components/verify_email/thank_you.tsx +++ b/src/components/verify_email/thank_you.tsx @@ -30,10 +30,12 @@ const ThankYou: FC = () => {

{key}

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

{str}

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

{str}

) + :

{value}

}
))}