Skip to content

Commit 9da6f0e

Browse files
author
Herbert Gainor
committed
Test fix
1 parent d51b1d2 commit 9da6f0e

File tree

1 file changed

+2
-8
lines changed
  • superset-frontend/src/components/Select

1 file changed

+2
-8
lines changed

superset-frontend/src/components/Select/utils.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919
import { ensureIsArray, t, styled } from '@superset-ui/core';
2020
import AntdSelect, { LabeledValue as AntdLabeledValue } from 'antd/lib/select';
21+
import { DownOutlined } from '@ant-design/icons';
2122
import React, { ReactElement, RefObject } from 'react';
2223
import Icons from 'src/components/Icons';
2324
import { StyledHelperText, StyledLoadingText, StyledSpin } from './styles';
@@ -32,13 +33,6 @@ const StyledSearchOutlined = styled(Icons.SearchOutlined)`
3233
}
3334
`;
3435

35-
const StyledDownOutlined = styled(Icons.DownOutlined)`
36-
svg {
37-
width: 12px;
38-
height: 12px;
39-
}
40-
`;
41-
4236
export function isObject(value: unknown): value is Record<string, unknown> {
4337
return (
4438
value !== null &&
@@ -142,7 +136,7 @@ export const getSuffixIcon = (
142136
if (showSearch && isDropdownVisible) {
143137
return <StyledSearchOutlined />;
144138
}
145-
return <StyledDownOutlined />;
139+
return <DownOutlined />;
146140
};
147141

148142
export const dropDownRenderHelper = (

0 commit comments

Comments
 (0)