chore: update recharts dependency and refactor chart components
- Updated recharts version from 3.2.1 to 2.15.4 in package.json. - Removed unused imports and types in GlobalSearch component. - Adjusted spacing in CardHeader component. - Refactored ChartTooltipContent and ChartLegendContent components to filter out items with type 'none' and improve readability.
This commit is contained in:
@@ -5,9 +5,8 @@ import { Input } from '@/components/ui/input'
|
||||
import { ScrollArea } from '@/components/ui/scroll-area'
|
||||
import { filesService } from '@/lib/api/services/files'
|
||||
import { playerService } from '@/lib/api/services/player'
|
||||
import { playlistsService, type Playlist } from '@/lib/api/services/playlists'
|
||||
import { playlistsService } from '@/lib/api/services/playlists'
|
||||
import { soundsService, type Sound } from '@/lib/api/services/sounds'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { formatDuration } from '@/utils/format-duration'
|
||||
import { Music, PlayCircle, Search, X } from 'lucide-react'
|
||||
import { toast } from 'sonner'
|
||||
|
||||
Reference in New Issue
Block a user