refactor: remove unused imports and redundant code in MusicPlayer and AppLayout components
Some checks failed
Frontend CI / lint (push) Failing after 5m47s
Frontend CI / build (push) Has been skipped

This commit is contained in:
JSC
2025-07-08 17:12:14 +02:00
parent d85e47ebd1
commit 1f997daf24
4 changed files with 3 additions and 10 deletions

View File

@@ -56,12 +56,6 @@ export function MusicPlayer() {
return null
}
const formatTime = (seconds: number) => {
const mins = Math.floor(seconds / 60)
const secs = Math.floor(seconds % 60)
return `${mins}:${secs.toString().padStart(2, '0')}`
}
const handleVolumeChange = (e: React.ChangeEvent<HTMLInputElement>) => {
const newVolume = parseFloat(e.target.value)
setVolume(newVolume)