fix: header icon logic (#5339)
This commit is contained in:
1 parent
824816154b
commit
a2133ef6cb
1 file changed
+1
-1
@@ -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>
|
||||||
|
|||||||
Reference in new issue
Block a user