Fix double button in ElementsSidebar

This commit is contained in:
Eric NGUYEN 2023-02-24 14:20:22 +01:00
parent 623003b60c
commit f74405f002

View file

@ -373,7 +373,7 @@ function ElementsListRow(
let expandButton;
if (container.children.length > 0 && container !== mainContainer) {
expandButton = (
<button
<div
key={`${key}-chevron`}
className={'ml-2 w-5 h-5 group transition-all'}
onClick={() => { toggleExpandContainer(container.properties.id); }}>
@ -384,7 +384,7 @@ function ElementsListRow(
? ''
: 'rotate-90'}`}/>
</button>
</div>
);
}