fix: only phrasing content is allowed inside buttons meaning no div or p elements, these are now replaced by span

This commit is contained in:
Christian Andolf
2024-10-25 15:44:30 +02:00
parent 0036fa1a68
commit 69ed852fc4
12 changed files with 56 additions and 43 deletions
+2 -2
View File
@@ -82,8 +82,8 @@ export default function DatePickerDesktop({
size="small"
theme="base"
>
<Caption color="white" type="bold">
{intl.formatMessage({ id: "Select dates" })}
<Caption color="white" type="bold" asChild>
<span>{intl.formatMessage({ id: "Select dates" })}</span>
</Caption>
</Button>
</footer>