chore: update recharts dependency and refactor chart components
Some checks failed
Frontend CI / lint (push) Failing after 21s
Frontend CI / build (push) Has been skipped

- 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:
JSC
2025-10-04 14:50:40 +02:00
parent 7d94e29dcb
commit cbd4b93fd4
5 changed files with 115 additions and 112 deletions

View File

@@ -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'