dashboard: just toggle one chart at the time (overview)

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-03-21 09:55:46 +01:00
parent 7ba60cdaf3
commit e78e88e267
8 changed files with 42 additions and 36 deletions

View File

@@ -3,12 +3,10 @@
import { Fragment } from 'react';
import { api } from '@/app/_trpc/client';
import { cn } from '@/utils/cn';
import { ChevronsUpDownIcon } from 'lucide-react';
import AnimateHeight from 'react-animate-height';
import type { IChartInput } from '@openpanel/validation';
import { redisSub } from '../../../../../packages/redis';
import { Tooltip, TooltipContent, TooltipTrigger } from '../ui/tooltip';
import { useOverviewOptions } from './useOverviewOptions';