mirror of
https://github.com/apache/superset.git
synced 2026-09-09 00:34:49 +00:00
chore: Empty state refactor (#31860)
This commit is contained in:
@@ -20,7 +20,7 @@ import { useEffect, useMemo, useState } from 'react';
|
||||
import { shallowEqual, useSelector } from 'react-redux';
|
||||
import { useInView } from 'react-intersection-observer';
|
||||
import { omit } from 'lodash';
|
||||
import { EmptyStateMedium } from 'src/components/EmptyState';
|
||||
import { EmptyState } from 'src/components/EmptyState';
|
||||
import {
|
||||
t,
|
||||
styled,
|
||||
@@ -143,8 +143,9 @@ const QueryHistory = ({
|
||||
</>
|
||||
) : (
|
||||
<StyledEmptyStateWrapper>
|
||||
<EmptyStateMedium
|
||||
<EmptyState
|
||||
title={t('Run a query to display query history')}
|
||||
size="medium"
|
||||
image="document.svg"
|
||||
/>
|
||||
</StyledEmptyStateWrapper>
|
||||
|
||||
Reference in New Issue
Block a user