From 81b3e680002599de62c35e08a39e73cd32925ad4 Mon Sep 17 00:00:00 2001 From: kangminguu <131148077+kangminguu@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:31:16 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20diaryWriteContainer=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95=20(#135)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widgets/write-diary/model/type.ts | 6 ------ src/widgets/write-diary/ui/WriteDiaryContainer.tsx | 1 - 2 files changed, 7 deletions(-) diff --git a/src/widgets/write-diary/model/type.ts b/src/widgets/write-diary/model/type.ts index d3f5630..2f7d80b 100644 --- a/src/widgets/write-diary/model/type.ts +++ b/src/widgets/write-diary/model/type.ts @@ -13,10 +13,4 @@ export interface WriteDiaryContainerProps { initialTitle?: string; initialContent?: string; initialIsPublic?: boolean; - onDiarySubmit: (diaryData: { - selectedDate: Date; - title: string; - content: string; - isPublic: boolean; - }) => void; } diff --git a/src/widgets/write-diary/ui/WriteDiaryContainer.tsx b/src/widgets/write-diary/ui/WriteDiaryContainer.tsx index d050293..e0f7585 100644 --- a/src/widgets/write-diary/ui/WriteDiaryContainer.tsx +++ b/src/widgets/write-diary/ui/WriteDiaryContainer.tsx @@ -17,7 +17,6 @@ import { DiaryVisibilityControls } from '@/widgets/diary-visibility-controls'; import { setDateFormat } from '@/widgets/date-picker/ui/setDateFormat'; export const WriteDiaryContainer: React.FC = ({ - onDiarySubmit, initialDate = new Date(), // 초기 날짜가 없으면 오늘 날짜 사용 isActive, disabled,