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:
@@ -42,8 +42,8 @@ export default function MegaMenu({
|
||||
onClick={() => toggleMegaMenu(false)}
|
||||
>
|
||||
<ChevronLeftIcon color="red" />
|
||||
<Subtitle type="one" color="burgundy">
|
||||
{title}
|
||||
<Subtitle type="one" color="burgundy" asChild>
|
||||
<span>{title}</span>
|
||||
</Subtitle>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user