Skip to content

Commit

Permalink
fix: PlaceCard props 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
doyn511 committed Sep 23, 2024
1 parent 0de8ebf commit e67f070
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Empty file removed src/api/public/main.ts
Empty file.
7 changes: 6 additions & 1 deletion src/views/Mypage/components/FavoritePlaceList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ function FavoritePlaceList() {
<ul css={listContainer}>
{FAVORITE_SAMPLE.map((item) => (
<li key={item.name} css={itemContainer}>
<PlaceCard placeName={item.name} address={item.address} />
<PlaceCard
placeName={item.name}
address={item.address}
imgSrc={''}
onClickHeart={() => console.log('click')}
/>
</li>
))}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Mypage/constants/text.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const MYPAGE_TAB_CONTENTS = {
PERSONAL_INFO: '개인정보 조회 및 변경',
FAVORITE_TRAVEL_LIST: '찜한 여행지 목록',
FAVORITE_TRAVEL_LIST: '저장한 여행지 목록',
TRAVELER_TYPE: '여행자 유형 설정',
};

0 comments on commit e67f070

Please sign in to comment.