Skip to content

Commit

Permalink
Fix some refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolagigic committed Jan 6, 2021
1 parent be99c2c commit 9e3a603
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions superset-frontend/src/common/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export {
Tooltip,
Input as AntdInput,
} from 'antd';
export { Card as AntdCard } from 'antd';
export { TreeProps } from 'antd/lib/tree';
export { FormInstance } from 'antd/lib/form';

Expand Down
6 changes: 3 additions & 3 deletions superset-frontend/src/components/ListViewCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import React from 'react';
import { styled } from '@superset-ui/core';
import Icon from 'src/components/Icon';
import { Card, Skeleton, ThinSkeleton } from 'src/common/components';
import { AntdCard, Skeleton, ThinSkeleton } from 'src/common/components';
import { Tooltip } from 'src/common/components/Tooltip';
import ImageLoader, { BackgroundPosition } from './ImageLoader';

Expand Down Expand Up @@ -205,7 +205,7 @@ function ListViewCard({
}
>
{loading && (
<Card.Meta
<AntdCard.Meta
title={
<>
<TitleContainer>
Expand All @@ -228,7 +228,7 @@ function ListViewCard({
/>
)}
{!loading && (
<Card.Meta
<AntdCard.Meta
title={
<TitleContainer>
<Tooltip title={title}>
Expand Down

0 comments on commit 9e3a603

Please sign in to comment.