Skip to content

Commit

Permalink
Remove old fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedsalem401 committed Nov 4, 2024
1 parent 66917aa commit a78578b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/core/src/dom_components/model/ComponentHead.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,4 @@ export default class ComponentHead extends Component {
static isComponent(el: HTMLElement) {
return toLowerCase(el.tagName) === type;
}

toJSON(): ComponentDefinition {
return {
...super.toJSON(),
droppable: (({ tagName }) => !tagName || droppable.includes(toLowerCase(tagName))) as DraggableDroppableFn,
};
}
}

0 comments on commit a78578b

Please sign in to comment.