diff --git a/superset-frontend/src/dashboard/util/getDropPosition.js b/superset-frontend/src/dashboard/util/getDropPosition.js index 7a21a74b6aeab..81cbc48f46941 100644 --- a/superset-frontend/src/dashboard/util/getDropPosition.js +++ b/superset-frontend/src/dashboard/util/getDropPosition.js @@ -54,15 +54,6 @@ export default function getDropPosition(monitor, Component) { return null; } - // TODO need a better solution to prevent nested tabs - // if ( - // draggingItem.type === TABS_TYPE && - // component.type === TAB_TYPE && - // componentDepth === 2 - // ) { - // return null; - // } - const validChild = isValidChild({ parentType: component.type, parentDepth: componentDepth,