Adapt the rendering of extra icons in the room header (#11835)
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
This commit is contained in:
parent
03b01b4a50
commit
47a4e4a52a
6 changed files with 11 additions and 11 deletions
|
@ -188,7 +188,7 @@ export default function RoomHeader({
|
|||
props.onClick();
|
||||
}}
|
||||
>
|
||||
{props.icon}
|
||||
{typeof props.icon === "function" ? props.icon() : props.icon}
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue