Changeset f5bc95e for frontend/src/pages/MusicalCollection.tsx
- Timestamp:
- 02/12/26 22:27:24 (5 months ago)
- Branches:
- main
- Children:
- 85512ff
- Parents:
- d85e8e3
- File:
-
- 1 edited
-
frontend/src/pages/MusicalCollection.tsx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/MusicalCollection.tsx
rd85e8e3 rf5bc95e 1 1 import { useEffect, useState } from "react"; 2 2 import { Link, useParams } from "react-router-dom"; 3 import axiosInstance from "../api/axiosInstance";3 import axiosInstance, { baseURL } from "../api/axiosInstance"; 4 4 import SongItem from "../components/SongItem"; 5 5 import { handleError } from "../utils/error"; … … 161 161 <div className="relative w-full pt-[100%] rounded-xl overflow-hidden shadow-2xl bg-[#181818]"> 162 162 <img 163 src={collection.cover || "/favicon.png"} 163 src={ 164 collection.cover 165 ? `${baseURL}/${collection.cover}` 166 : "/favicon.png" 167 } 164 168 alt={collection.title} 165 169 className="absolute inset-0 w-full h-full object-cover"
Note:
See TracChangeset
for help on using the changeset viewer.
