Changeset f5bc95e for frontend/src/components/search
- Timestamp:
- 02/12/26 22:27:24 (5 months ago)
- Branches:
- main
- Children:
- 85512ff
- Parents:
- d85e8e3
- File:
-
- 1 edited
-
frontend/src/components/search/AlbumResult.tsx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/components/search/AlbumResult.tsx
rd85e8e3 rf5bc95e 1 1 import { useNavigate } from "react-router-dom"; 2 import { baseURL } from "../../api/axiosInstance"; 2 3 import type { Album } from "../../utils/types"; 3 4 … … 15 16 > 16 17 <img 17 src={album.cover ||"/favicon.png"}18 src={album.cover ? `${baseURL}/${album.cover}` : "/favicon.png"} 18 19 alt={album.title} 19 20 className="w-12 h-12 rounded object-cover" … … 25 26 <p className="text-white font-medium truncate">{album.title}</p> 26 27 <p className="text-sm text-gray-400 truncate"> 27 Album • {album.releasedBy} • {album.songs?.length ?? 0} songs28 Album • {album.releasedBy} 28 29 </p> 29 30 </div>
Note:
See TracChangeset
for help on using the changeset viewer.
