Skip to content

Commit

Permalink
chore: remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jungjjeong committed Aug 2, 2024
1 parent 6ce7178 commit 4d79d6a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions features/record-detail/sections/detail-diary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import { type RecordDetailType } from '../types';

export const DetailDiarySection = ({ data }: { data: RecordDetailType }) => {
const { images, diary, recordAt } = data;

const formatDate = getFormatDate({ dateStr: recordAt });
const { year, month, day, weekday } = formatDate;
const { year, month, day, weekday } = getFormatDate({ dateStr: recordAt });

return (
<section className={containerStyle}>
Expand All @@ -32,7 +30,6 @@ export const DetailDiarySection = ({ data }: { data: RecordDetailType }) => {
<h1 className={header.title}>์˜ค๋Š˜์˜ ์ˆ˜์˜ ์ผ๊ธฐ</h1>
</div>

{/* TODO: date format ์ˆ˜์ • */}
<p
className={header.date}
>{`${year}๋…„ ${month}์›” ${day}์ผ ${weekday}`}</p>
Expand Down

0 comments on commit 4d79d6a

Please sign in to comment.