Changeset f5bc95e for frontend/src/components/SongItem.tsx
- Timestamp:
- 02/12/26 22:27:24 (5 months ago)
- Branches:
- main
- Children:
- 85512ff
- Parents:
- d85e8e3
- File:
-
- 1 edited
-
frontend/src/components/SongItem.tsx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/components/SongItem.tsx
rd85e8e3 rf5bc95e 1 1 import { useEffect, useRef, useState } from "react"; 2 2 import { useNavigate } from "react-router-dom"; 3 import { baseURL } from "../api/axiosInstance"; 3 4 import { usePlayer } from "../context/playerContext"; 4 5 import { toEmbedUrl } from "../utils/utils"; … … 94 95 {/* Cover */} 95 96 <img 96 src={song.cover ||"/favicon.png"}97 src={song.cover ? `${baseURL}/${song.cover}` : "/favicon.png"} 97 98 alt={song.title} 98 99 className="w-12 h-12 rounded object-cover shrink-0"
Note:
See TracChangeset
for help on using the changeset viewer.
