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/Sidebar.tsx

    rd85e8e3 rf5bc95e  
    11import { useEffect, useState } from "react";
    22import { useNavigate } from "react-router-dom";
    3 import axiosInstance from "../api/axiosInstance";
     3import axiosInstance, { baseURL } from "../api/axiosInstance";
    44import { useAuth } from "../context/authContext";
    55import { usePlayer } from "../context/playerContext";
     
    8282                                                        >
    8383                                                                <img
    84                                                                         src={song.cover || "/favicon.png"}
     84                                                                        src={song.cover ? `${baseURL}/${song.cover}` : "/favicon.png"}
    8585                                                                        alt={song.title}
    8686                                                                        className="w-10 h-10 rounded object-cover"
Note: See TracChangeset for help on using the changeset viewer.