You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2024/06/21 20:51:23 UTC

(superset) branch antd-5-poc updated: simplifying

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch antd-5-poc
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/antd-5-poc by this push:
     new 9fd4496c04 simplifying
9fd4496c04 is described below

commit 9fd4496c047a066ee945d66ed19e4f147c2b7112
Author: Evan Rusackas <ev...@rusackas.com>
AuthorDate: Fri Jun 21 14:51:14 2024 -0600

    simplifying
---
 superset-frontend/src/components/Select/Select.tsx   | 4 +---
 superset-frontend/src/components/Select/constants.ts | 2 +-
 superset-frontend/src/components/Select/styles.tsx   | 2 +-
 superset-frontend/src/components/Select/types.ts     | 4 ++--
 4 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/superset-frontend/src/components/Select/Select.tsx b/superset-frontend/src/components/Select/Select.tsx
index 228de1e47f..9356880ba8 100644
--- a/superset-frontend/src/components/Select/Select.tsx
+++ b/superset-frontend/src/components/Select/Select.tsx
@@ -35,9 +35,7 @@ import {
   t,
   usePrevious,
 } from '@superset-ui/core';
-import AntdSelect, {
-  LabeledValue as AntdLabeledValue,
-} from 'antd-next/lib/select';
+import AntdSelect, { LabeledValue as AntdLabeledValue } from 'antd/lib/select';
 import { debounce, isEqual, uniq } from 'lodash';
 import { FAST_DEBOUNCE } from 'src/constants';
 import {
diff --git a/superset-frontend/src/components/Select/constants.ts b/superset-frontend/src/components/Select/constants.ts
index b8566bd8f8..63218d9b71 100644
--- a/superset-frontend/src/components/Select/constants.ts
+++ b/superset-frontend/src/components/Select/constants.ts
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-import { LabeledValue as AntdLabeledValue } from 'antd-next/lib/select';
+import { LabeledValue as AntdLabeledValue } from 'antd/lib/select';
 import { rankedSearchCompare } from 'src/utils/rankedSearchCompare';
 
 export const MAX_TAG_COUNT = 4;
diff --git a/superset-frontend/src/components/Select/styles.tsx b/superset-frontend/src/components/Select/styles.tsx
index 51338bf929..92407f3cf6 100644
--- a/superset-frontend/src/components/Select/styles.tsx
+++ b/superset-frontend/src/components/Select/styles.tsx
@@ -19,7 +19,7 @@
 import { styled } from '@superset-ui/core';
 import Icons from 'src/components/Icons';
 import { Spin, Tag } from 'antd-next';
-import AntdSelect from 'antd-next/lib/select';
+import AntdSelect from 'antd/lib/select';
 
 export const StyledHeader = styled.span<{ headerPosition: string }>`
   ${({ theme, headerPosition }) => `
diff --git a/superset-frontend/src/components/Select/types.ts b/superset-frontend/src/components/Select/types.ts
index 3f0f963193..e8a1ee8248 100644
--- a/superset-frontend/src/components/Select/types.ts
+++ b/superset-frontend/src/components/Select/types.ts
@@ -26,8 +26,8 @@ import {
   SelectProps as AntdSelectProps,
   SelectValue as AntdSelectValue,
   LabeledValue as AntdLabeledValue,
-} from 'antd-next/lib/select';
-import { TagProps } from 'antd-next/lib/tag';
+} from 'antd/lib/select';
+import { TagProps } from 'antd/lib/tag';
 
 export type RawValue = string | number;