diff --git a/superset-frontend/src/views/CRUD/data/dataset/AddDatasetModal.tsx b/superset-frontend/src/views/CRUD/data/dataset/AddDatasetModal.tsx index 63bbb9be10..ea184acce4 100644 --- a/superset-frontend/src/views/CRUD/data/dataset/AddDatasetModal.tsx +++ b/superset-frontend/src/views/CRUD/data/dataset/AddDatasetModal.tsx @@ -20,7 +20,6 @@ import React, { FunctionComponent, useState } from 'react'; import { styled, t } from '@superset-ui/core'; import { useSingleViewResource } from 'src/views/CRUD/hooks'; import { isEmpty, isNil } from 'lodash'; -import Icon from 'src/components/Icon'; import Modal from 'src/components/Modal'; import TableSelector from 'src/components/TableSelector'; import withToasts from 'src/messageToasts/enhancers/withToasts'; @@ -39,10 +38,6 @@ interface DatasetModalProps { show: boolean; } -const StyledIcon = styled(Icon)` - margin: auto ${({ theme }) => theme.gridUnit * 2}px auto 0; -`; - const TableSelectorContainer = styled.div` padding-bottom: 340px; width: 65%; @@ -105,12 +100,7 @@ const DatasetModal: FunctionComponent = ({ onHide={onHide} primaryButtonName={t('Add')} show={show} - title={ - <> - - {t('Add dataset')} - - } + title={t('Add dataset')} >