Skip to content

Commit

Permalink
[CHORE] 멘토 마이페이지 수상 수정 컴포넌트에 이미지 url도 props로 전달
Browse files Browse the repository at this point in the history
  • Loading branch information
biiit4894 committed Sep 11, 2023
1 parent 3499bfb commit 2202bf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions sgb_web/src/pages/MyPageEditMentor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const MyPageEditMentor = () => {
date={activity.date}
name={activity.name}
prize={activity.prize}
prizeImage={activity.prizeImage}
role={activity.role}
thoughts={activity.thoughts}
type={activity.type}
Expand Down
1 change: 0 additions & 1 deletion sgb_web/src/pages/components/PinkMypageEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ function PinkMypageEdit({
const [prizeName, setPrizeName] = useState(name);
const [prizeRank, setPrizeRank] = useState(prize);
const [prizeImg, setPrizeImg] = useState(prizeImage); // 이미지 url
const fileInput = useRef(null);
const [prizeRole, setPrizeRole] = useState(role);
const [prizeThoughts, setPrizeThoughts] = useState(thoughts);
const [contestType, setContestType] = useState(type);
Expand Down

0 comments on commit 2202bf6

Please sign in to comment.