Skip to content

Commit

Permalink
FIX : 즐겨찾기 하트이미지 import
Browse files Browse the repository at this point in the history
  • Loading branch information
Jbiscode committed Jun 24, 2024
1 parent a4c1a97 commit ed677a7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/profile/LikeComponent.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React, { useEffect, useState } from "react";
import { useEffect, useState } from "react";
import { Link } from "react-router-dom";
import CLOTHES from "@/assets/images/clothes.png"
import useAuthStore from "@zustand/authStore"
import {auth} from "@api/index"
import useModalStore from "@zustand/modalStore"
import HeartFill from "@/assets/images/icon/heart_fill.svg"


const LikeComponent = ({updateMyProfileInfo }) => {
Expand Down Expand Up @@ -115,7 +114,7 @@ const LikeComponent = ({updateMyProfileInfo }) => {
거래 완료
</div>
}
<img className="absolute top-2 right-2" src='/src/assets/images/icon/heart_fill.svg' onClick={(e)=>{handleLikeChange(e,item.id)}}/>
<img className="absolute top-2 right-2" src={HeartFill} onClick={(e)=>{handleLikeChange(e,item.id)}}/>
</div>
<p className="text-[16px] whitespace-nowrap text-ellipsis overflow-hidden font-bold mt-2 mb-1 pl-1">{item.title}</p>
<div className="mb-1 flex text-sm gap-1 font-bold text-gray-400 pl-1">
Expand Down

0 comments on commit ed677a7

Please sign in to comment.