From c82b4f75ed1ff5b21535a0d45dff7a053097def5 Mon Sep 17 00:00:00 2001 From: sangminlee98 Date: Sun, 18 Aug 2024 20:00:44 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B3=B5=EC=9D=B8=EC=A4=91=EA=B0=9C?= =?UTF-8?q?=EC=82=AC=20=EC=83=81=EC=84=B8=20=EC=84=A4=EB=AA=85=20=ED=83=80?= =?UTF-8?q?=EC=9E=85=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Trade/Write/index.tsx | 1 + src/types/Board/tradeType.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/pages/Trade/Write/index.tsx b/src/pages/Trade/Write/index.tsx index b197def..8fd7466 100644 --- a/src/pages/Trade/Write/index.tsx +++ b/src/pages/Trade/Write/index.tsx @@ -48,6 +48,7 @@ export default function TradeWritePage() { price: state ? state.data.price : 0, monthlyPrice: state ? state.data.monthlyPrice : 0, agentName: state ? state.data.agentName : '', + agentDetail: state ? state.data.agentDetail : '', title: state ? state.data.title : '', code: state ? state.data.code : '', imageUrls: state ? state.data.imageUrls : [], diff --git a/src/types/Board/tradeType.ts b/src/types/Board/tradeType.ts index fa0ab99..b56f9d6 100644 --- a/src/types/Board/tradeType.ts +++ b/src/types/Board/tradeType.ts @@ -29,6 +29,7 @@ export type TradeBoardForm = { price: number; monthlyPrice: number; agentName: string; + agentDetail: string; title: string; code: string; imageUrls: string[]; @@ -67,6 +68,7 @@ export type TradeBoardDetailType = { price: number; monthlyPrice: number; agentName: string; + agentDetail: string; title: string; code: string; imageUrls: string[];