import { FullPageEmptyState } from '@/components/FullPageEmptyState'; import { cn } from '@/utils/cn'; import { useChartContext } from './ChartProvider'; import { MetricCardEmpty } from './MetricCard'; export function ChartEmpty() { const { editMode, chartType } = useChartContext(); if (editMode) { return ( We could not find any data for selected events and filter. ); } if (chartType === 'metric') { return ; } return (
No data
); }