- Timestamp:
- 02/12/26 22:18:11 (5 months ago)
- Branches:
- main
- Children:
- f5bc95e
- Parents:
- db5fb23
- File:
-
- 1 edited
-
frontend/src/pages/MySongs.tsx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/MySongs.tsx
rdb5fb23 rd85e8e3 1 1 import { useEffect, useState } from "react"; 2 2 import { Link, useNavigate } from "react-router-dom"; 3 import axiosInstance from "../api/axiosInstance";3 import axiosInstance, { baseURL } from "../api/axiosInstance"; 4 4 import { useAuth } from "../context/authContext"; 5 5 import type { CatalogItem } from "../utils/types"; … … 155 155 </span> 156 156 <img 157 src={song.cover || "/favicon.png"} 157 src={ 158 song.cover ? `${baseURL}/${song.cover}` : "/favicon.png" 159 } 158 160 alt={song.title} 159 161 className="w-12 h-12 rounded object-cover" … … 215 217 <div className="relative w-full pt-[100%] rounded-lg overflow-hidden mb-4 bg-[#282828]"> 216 218 <img 217 src={album.cover || "/favicon.png"} 219 src={ 220 album.cover 221 ? `${baseURL}/${album.cover}` 222 : "/favicon.png" 223 } 218 224 alt={album.title} 219 225 className="absolute inset-0 w-full h-full object-cover"
Note:
See TracChangeset
for help on using the changeset viewer.
