Fix double button in ElementsSidebar
This commit is contained in:
parent
623003b60c
commit
f74405f002
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue