Merged in fix/terms-and-conditions-link (pull request #1933)

Don't check checkbox when clicking link inside the label

* Don't check checkbox when clicking link inside the label
This commit is contained in:
Niclas Edenvin
2025-05-03 14:51:06 +00:00
parent cd01b34606
commit c6a0b4ee30

View File

@@ -114,6 +114,7 @@ export default function Form() {
color="peach80" color="peach80"
target="_blank" target="_blank"
href={bookingTermsAndConditions[lang]} href={bookingTermsAndConditions[lang]}
onClick={(e) => e.stopPropagation()}
> >
{str} {str}
</Link> </Link>
@@ -124,6 +125,7 @@ export default function Form() {
color="peach80" color="peach80"
target="_blank" target="_blank"
href={privacyPolicy[lang]} href={privacyPolicy[lang]}
onClick={(e) => e.stopPropagation()}
> >
{str} {str}
</Link> </Link>