diff --git a/pages/detail/index.tsx b/pages/detail/index.tsx index 98060cb6..6fbde40d 100644 --- a/pages/detail/index.tsx +++ b/pages/detail/index.tsx @@ -22,7 +22,7 @@ const enum SelectedTab { const DetailPage = () => { const router = useRouter(); const id = router.query.id as string; - const [selectedIndex, setSelectedIndex] = useState(SelectedTab.FEED); + const [selectedIndex, setSelectedIndex] = useState(SelectedTab.INFORMATION); const { data: detailData } = useQueryGetMeeting({ params: { id } }); const { mutate: mutateDeleteMeeting } = useMutationDeleteMeeting({}); const { mutate: mutatePostApplication } = useMutationPostApplication({}); @@ -51,7 +51,8 @@ const DetailPage = () => { - + {/* */} + diff --git a/src/components/page/meetingDetail/Feed/EmptyView.tsx b/src/components/page/meetingDetail/Feed/EmptyView.tsx index faca7f4b..6c246e5c 100644 --- a/src/components/page/meetingDetail/Feed/EmptyView.tsx +++ b/src/components/page/meetingDetail/Feed/EmptyView.tsx @@ -1,21 +1,21 @@ import { Box } from '@components/box/Box'; import { styled } from 'stitches.config'; -interface EmptyViewProps { - isMember: boolean; -} +// interface EmptyViewProps { +// isMember: boolean; +// } -const EmptyView = ({ isMember }: EmptyViewProps) => { +const EmptyView = () => { return (

아직 작성된 피드가 없어요.

- {isMember && ( + {/* {isMember && ( <>

첫번째 작성자가 되어볼까요?

- )} + )} */}
); }; diff --git a/src/components/page/meetingDetail/Feed/FeedPanel.tsx b/src/components/page/meetingDetail/Feed/FeedPanel.tsx index c1005c3f..9e46685e 100644 --- a/src/components/page/meetingDetail/Feed/FeedPanel.tsx +++ b/src/components/page/meetingDetail/Feed/FeedPanel.tsx @@ -3,14 +3,14 @@ import React from 'react'; import { styled } from 'stitches.config'; import EmptyView from './EmptyView'; -interface FeedPanelProps { - isMember: boolean; -} +// interface FeedPanelProps { +// isMember: boolean; +// } -const FeedPanel = ({ isMember }: FeedPanelProps) => { +const FeedPanel = () => { return ( - + ); };