mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
removed unnecessary divs
This commit is contained in:
parent
98a949bed1
commit
01131a4036
@ -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}
|
||||
|
@ -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>;
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user