Changeset f5bc95e for frontend/src/components/MiniPlayer.tsx
- Timestamp:
- 02/12/26 22:27:24 (5 months ago)
- Branches:
- main
- Children:
- 85512ff
- Parents:
- d85e8e3
- File:
-
- 1 edited
-
frontend/src/components/MiniPlayer.tsx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/components/MiniPlayer.tsx
rd85e8e3 rf5bc95e 1 import { baseURL } from "../api/axiosInstance"; 1 2 import { usePlayer } from "../context/playerContext"; 2 3 … … 20 21 <div className="flex items-center gap-4"> 21 22 <img 22 src={currentSong.cover || "/favicon.png"} 23 src={ 24 currentSong.cover 25 ? `${baseURL}/${currentSong.cover}` 26 : "/favicon.png" 27 } 23 28 alt={currentSong.title} 24 29 className="w-12 h-12 rounded-lg object-cover shadow-lg" … … 110 115 <div className="flex items-center gap-3 min-w-0 flex-1"> 111 116 <img 112 src={currentSong.cover || "/favicon.png"} 117 src={ 118 currentSong.cover 119 ? `${baseURL}/${currentSong.cover}` 120 : "/favicon.png" 121 } 113 122 alt={currentSong.title} 114 123 className="w-10 h-10 rounded object-cover shrink-0"
Note:
See TracChangeset
for help on using the changeset viewer.
