Don't display validation errors as HTML

Display the link to application only if it's enabled

Thanks to higa on discord for pointing this to us.
This commit is contained in:
Bogdan
2024-08-20 17:09:41 +03:00
parent 521c1f760c
commit 0391537a60
3 changed files with 6 additions and 2 deletions
@@ -25,7 +25,7 @@ function FormInputHelpText(props) {
isCheckInput && styles.isCheckInput
)}
>
<div dangerouslySetInnerHTML={{ __html: text }} />
{text}
{
link ?