Skip to content

Commit

Permalink
Merge pull request #207 from ODOICHON/fix/#206
Browse files Browse the repository at this point in the history
fix: ๋ถˆํ•„์š”ํ•œ ํŒŒ์ผ ์ œ๊ฑฐ
  • Loading branch information
sangminlee98 authored Nov 28, 2023
2 parents 2672a0d + 1521aa0 commit bfbff08
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 137 deletions.
2 changes: 1 addition & 1 deletion src/components/MyPage/MyHomePopularCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type MyHomePopularCardProps = {
imgUrl: string;
title: string;
nickName: string;
createdAt: string;
createdAt: Date;
};

function MyHomePopularCard({
Expand Down
2 changes: 1 addition & 1 deletion src/components/Trade/Quill/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function TradeQuill({
const imageUrls = [thumbnail, ...getImageUrls(form.code)];

const extractedYear = form.createdDate.match(/\d{4}/);
const createdDate = extractedYear ? extractedYear[0] : '2002';
const createdDate = extractedYear ? extractedYear[0] : '';

const newForm: TradeBoardForm = {
...form,
Expand Down
134 changes: 0 additions & 134 deletions src/constants/trade_dummy.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/types/Board/tradeType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export type TradeBoardDetailType = {
purpose: string;
floorNum: number;
contact: string;
createdDate: Date;
createdDate: string;
price: number;
monthlyPrice: number;
agentName: string;
Expand Down

0 comments on commit bfbff08

Please sign in to comment.