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;
|
let expandButton;
|
||||||
if (container.children.length > 0 && container !== mainContainer) {
|
if (container.children.length > 0 && container !== mainContainer) {
|
||||||
expandButton = (
|
expandButton = (
|
||||||
<button
|
<div
|
||||||
key={`${key}-chevron`}
|
key={`${key}-chevron`}
|
||||||
className={'ml-2 w-5 h-5 group transition-all'}
|
className={'ml-2 w-5 h-5 group transition-all'}
|
||||||
onClick={() => { toggleExpandContainer(container.properties.id); }}>
|
onClick={() => { toggleExpandContainer(container.properties.id); }}>
|
||||||
|
@ -384,7 +384,7 @@ function ElementsListRow(
|
||||||
? ''
|
? ''
|
||||||
: 'rotate-90'}`}/>
|
: 'rotate-90'}`}/>
|
||||||
|
|
||||||
</button>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue