fix: header icon logic (#5339)

This commit is contained in:
Pedro Köhler 2025-08-22 10:34:41 -03:00 committed by GitHub
parent 824816154b
commit a2133ef6cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -109,7 +109,7 @@ function Header({
> >
{IconComponent && ( {IconComponent && (
<span className="flex h-4 w-4 items-center justify-center"> <span className="flex h-4 w-4 items-center justify-center">
<Icons.ByName name={IconComponent.name} /> <Icons.ByName name={option.icon} />
</span> </span>
)} )}
<span className="flex-1">{option.title}</span> <span className="flex-1">{option.title}</span>