From 91363a0c2657a6d1ae6b23605f236a678e1f43f9 Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" Date: Wed, 14 Apr 2021 08:59:04 -0300 Subject: [PATCH] chore: Moves Dropdown to the components folder --- superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx | 2 +- superset-frontend/src/common/components/common.stories.tsx | 2 +- .../src/{common => }/components/Dropdown/Dropdown.stories.tsx | 0 .../src/{common => }/components/Dropdown/index.tsx | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename superset-frontend/src/{common => }/components/Dropdown/Dropdown.stories.tsx (100%) rename superset-frontend/src/{common => }/components/Dropdown/index.tsx (100%) diff --git a/superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx b/superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx index 45f0bf47d575c..47280b19bcb97 100644 --- a/superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx +++ b/superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx @@ -19,7 +19,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { EditableTabs } from 'src/common/components/Tabs'; -import { Dropdown } from 'src/common/components/Dropdown'; +import { Dropdown } from 'src/components/Dropdown'; import { Menu } from 'src/common/components'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; diff --git a/superset-frontend/src/common/components/common.stories.tsx b/superset-frontend/src/common/components/common.stories.tsx index d9987f2af55d2..7b022fcc3fae0 100644 --- a/superset-frontend/src/common/components/common.stories.tsx +++ b/superset-frontend/src/common/components/common.stories.tsx @@ -23,10 +23,10 @@ import Button from 'src/components/Button'; import { CronPicker, CronError } from 'src/components/CronPicker'; import Modal from 'src/components/Modal'; import InfoTooltip from 'src/components/InfoTooltip'; +import { Dropdown } from 'src/components/Dropdown'; import Tabs, { EditableTabs } from './Tabs'; import { Tooltip as AntdTooltip } from './Tooltip'; import { Menu, Input, Divider } from '.'; -import { Dropdown } from './Dropdown'; export default { title: 'Common components', diff --git a/superset-frontend/src/common/components/Dropdown/Dropdown.stories.tsx b/superset-frontend/src/components/Dropdown/Dropdown.stories.tsx similarity index 100% rename from superset-frontend/src/common/components/Dropdown/Dropdown.stories.tsx rename to superset-frontend/src/components/Dropdown/Dropdown.stories.tsx diff --git a/superset-frontend/src/common/components/Dropdown/index.tsx b/superset-frontend/src/components/Dropdown/index.tsx similarity index 100% rename from superset-frontend/src/common/components/Dropdown/index.tsx rename to superset-frontend/src/components/Dropdown/index.tsx