Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Herbert Gainor committed Nov 1, 2022
1 parent d51b1d2 commit 9da6f0e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions superset-frontend/src/components/Select/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
import { ensureIsArray, t, styled } from '@superset-ui/core';
import AntdSelect, { LabeledValue as AntdLabeledValue } from 'antd/lib/select';
import { DownOutlined } from '@ant-design/icons';
import React, { ReactElement, RefObject } from 'react';
import Icons from 'src/components/Icons';
import { StyledHelperText, StyledLoadingText, StyledSpin } from './styles';
Expand All @@ -32,13 +33,6 @@ const StyledSearchOutlined = styled(Icons.SearchOutlined)`
}
`;

const StyledDownOutlined = styled(Icons.DownOutlined)`
svg {
width: 12px;
height: 12px;
}
`;

export function isObject(value: unknown): value is Record<string, unknown> {
return (
value !== null &&
Expand Down Expand Up @@ -142,7 +136,7 @@ export const getSuffixIcon = (
if (showSearch && isDropdownVisible) {
return <StyledSearchOutlined />;
}
return <StyledDownOutlined />;
return <DownOutlined />;
};

export const dropDownRenderHelper = (
Expand Down

0 comments on commit 9da6f0e

Please sign in to comment.