Skip to content

Commit

Permalink
feat: kako message 기간 형식 수정, 메인페이지 제외 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssoxong authored May 27, 2024
1 parent 13cf169 commit 1203051
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Components/Kakao/KakaoMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 0 additions & 2 deletions src/Pages/MainPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -68,7 +67,6 @@ const MainPage = () => {
{user ? (
<>
<LogoutKakao />
<KakaoMessage groupId={{}} eventId={{}} unpaidMembers={{}} />
<SignOutServer />
</>
) : (
Expand Down

0 comments on commit 1203051

Please sign in to comment.