fix: header icon logic (#5339)
This commit is contained in:
parent
824816154b
commit
a2133ef6cb
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user