Skip to content

Commit

Permalink
fix : diaryWriteContainer 버그 수정 (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangminguu authored Nov 4, 2024
1 parent 86ad7b5 commit 81b3e68
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/widgets/write-diary/model/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,4 @@ export interface WriteDiaryContainerProps {
initialTitle?: string;
initialContent?: string;
initialIsPublic?: boolean;
onDiarySubmit: (diaryData: {
selectedDate: Date;
title: string;
content: string;
isPublic: boolean;
}) => void;
}
1 change: 0 additions & 1 deletion src/widgets/write-diary/ui/WriteDiaryContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { DiaryVisibilityControls } from '@/widgets/diary-visibility-controls';
import { setDateFormat } from '@/widgets/date-picker/ui/setDateFormat';

export const WriteDiaryContainer: React.FC<WriteDiaryContainerProps> = ({
onDiarySubmit,
initialDate = new Date(), // 초기 날짜가 없으면 오늘 날짜 사용
isActive,
disabled,
Expand Down

0 comments on commit 81b3e68

Please sign in to comment.