diff --git a/src/Components/Kakao/KakaoMessage.js b/src/Components/Kakao/KakaoMessage.js index ea72576..92ca0de 100644 --- a/src/Components/Kakao/KakaoMessage.js +++ b/src/Components/Kakao/KakaoMessage.js @@ -27,8 +27,8 @@ const KakaoMessage = ({ groupId, eventId, unpaidMembers }) => { 'group': group.name, 'event': event.name, 'fee': event.fee, - 'start_date': event.startDate.toISOString().slice(0, 10), - 'end_date': event.endDate.toISOString().slice(0, 10), + 'start_date': event.startDate.slice(0, 10), + 'end_date': event.endDate.slice(0, 10), } } const tmpEvent = { diff --git a/src/Pages/MainPage/index.js b/src/Pages/MainPage/index.js index 9466ced..763abc1 100644 --- a/src/Pages/MainPage/index.js +++ b/src/Pages/MainPage/index.js @@ -10,7 +10,6 @@ import LoginKakao from '../../Components/Login/LoginKakao' import { useAuth } from '../../context/AuthContext' import { useMediaQuery } from 'react-responsive' import SignOutServer from '../../Components/Login/SignOutServer' -import KakaoMessage from '../../Components/Kakao/KakaoMessage' const MainPage = () => { const { user } = useAuth() @@ -68,7 +67,6 @@ const MainPage = () => { {user ? ( <> - ) : (