Skip to content

Commit

Permalink
Merge pull request #287 from catchroom/feature/#217
Browse files Browse the repository at this point in the history
🐛 fix: 판매 상태에 따른 문구 수정
  • Loading branch information
minseokiim authored Jan 27, 2024
2 parents 17a7e7f + e85de56 commit 422d0d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/mypage/items/sellingItems/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const MItem = ({ item }: { item: MypageSellingType }) => {
</>
);
case 'DONEDEAL':
return <p>판매완료</p>;
return <p>판매일 : {getDotDate(item.endDate, true, true, true)}</p>;
case 'UNSOLD':
case 'UNABLESELL':
return <p>{getSellState(dealState)}</p>;
Expand Down
2 changes: 1 addition & 1 deletion utils/mypage-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const noMask = (value: string) => {
export const getSellState = (state: string) => {
switch (state) {
case 'EXPIRED':
return '기한 만료';
return '게시 기한 만료';
case 'UNSOLD':
return '체크인 만료';
case 'UNABLESELL':
Expand Down

0 comments on commit 422d0d8

Please sign in to comment.