chore: Empty state refactor (#31860)

This commit is contained in:
Maxime Beauchemin
2025-01-22 13:20:38 -08:00
committed by GitHub
parent 7482b20f7b
commit fcd166149c
48 changed files with 530 additions and 658 deletions
@@ -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>