From 33b20aff7bbb60fc65379a12ceb1cb827626f74b Mon Sep 17 00:00:00 2001 From: Jungjjeong Date: Tue, 30 Jan 2024 01:29:07 +0900 Subject: [PATCH] =?UTF-8?q?jungjjeong=20|=20chore:=20console.log=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/home/index.tsx | 2 +- src/app/post/done.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/home/index.tsx b/src/app/home/index.tsx index 72870ce4..6b4afbdf 100644 --- a/src/app/home/index.tsx +++ b/src/app/home/index.tsx @@ -93,7 +93,7 @@ export const Home = () => { if (unreadPosts.length > 0) { const lastPostDate = new Date(unreadPosts[0].postCreatedDate); const today = new Date(); - console.log(today, unreadPosts, lastPostDate); + if ( lastPostDate.getFullYear() === today.getFullYear() && lastPostDate.getMonth() === today.getMonth() && diff --git a/src/app/post/done.tsx b/src/app/post/done.tsx index 0f71ad12..1f2a5f0f 100644 --- a/src/app/post/done.tsx +++ b/src/app/post/done.tsx @@ -18,7 +18,6 @@ export const Done = () => { const navigate = useNavigate(); const location = useLocation(); const state = location.state as postProps; - console.log(state.postId); const handleShare = () => { // TODO: 클립보드에 링크 복사하기