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:
+2
-2
@@ -33,8 +33,8 @@ export default function ClearSearchButton({
|
||||
type="button"
|
||||
>
|
||||
<DeleteIcon color="burgundy" height={20} width={20} />
|
||||
<Caption color="burgundy" type="bold">
|
||||
{intl.formatMessage({ id: "Clear searches" })}
|
||||
<Caption color="burgundy" type="bold" asChild>
|
||||
<span>{intl.formatMessage({ id: "Clear searches" })}</span>
|
||||
</Caption>
|
||||
</button>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user