fix: only phrasing content is allowed inside label element

This commit is contained in:
Christian Andolf
2024-10-29 13:35:13 +01:00
parent cfc400a619
commit a37cd3ff44
4 changed files with 35 additions and 24 deletions

View File

@@ -50,8 +50,8 @@ export default function FormContent({
</div>
<div className={styles.rooms}>
<label>
<Caption color="red" type="bold">
{rooms}
<Caption color="red" type="bold" asChild>
<span>{rooms}</span>
</Caption>
</label>
<GuestsRoomsProvider selectedGuests={selectedGuests}>