Ignore:
Timestamp:
02/12/26 22:27:24 (5 months ago)
Author:
Filip Gavrilovski <filipgavrilovski28@…>
Branches:
main
Children:
85512ff
Parents:
d85e8e3
Message:

fix music cover ui bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/src/components/userProfile/ArtistView.tsx

    rd85e8e3 rf5bc95e  
    33import { useNavigate } from "react-router-dom";
    44import { toast } from "react-toastify";
    5 import axiosInstance from "../../api/axiosInstance";
     5import axiosInstance, { baseURL } from "../../api/axiosInstance";
    66import type { ArtistContribution } from "../../utils/types";
    77import SongItem from "../SongItem";
     
    6565                                                                <div className="relative aspect-square rounded-lg mb-3 overflow-hidden shadow-md group-hover:shadow-xl transition-all duration-300 bg-[#181818]">
    6666                                                                        <img
    67                                                                                 src={album.cover || "/favicon.png"}
     67                                                                                src={
     68                                                                                        album.cover ? `${baseURL}/${album.cover}` : "/favicon.png"
     69                                                                                }
    6870                                                                                alt={album.title}
    6971                                                                                className="w-full h-full object-cover"
Note: See TracChangeset for help on using the changeset viewer.