removed unnecessary divs

This commit is contained in:
Agusti Bau 2020-05-02 12:55:56 +02:00
parent 98a949bed1
commit 01131a4036
2 changed files with 3 additions and 7 deletions

View File

@ -43,7 +43,6 @@ export default function DNDTagTile(props) {
type="draggable-TagTile"
>
{ (provided, snapshot) => (
<div>
<div
ref={provided.innerRef}
{...provided.draggableProps}
@ -55,9 +54,8 @@ export default function DNDTagTile(props) {
menuDisplayed={menuDisplayed}
openMenu={openMenu}
/>
</div>
{ provided.placeholder }
</div>
</div>
) }
</Draggable>
{contextMenu}

View File

@ -159,8 +159,7 @@ export default createReactClass({
const AccessibleTooltipButton = sdk.getComponent("elements.AccessibleTooltipButton");
return <div>
<AccessibleTooltipButton
return <AccessibleTooltipButton
className={className}
onClick={this.onClick}
onContextMenu={this.openMenu}
@ -181,7 +180,6 @@ export default createReactClass({
{ contextButton }
{ badgeElement }
</div>
</AccessibleTooltipButton>
</div>;
</AccessibleTooltipButton>;
},
});