Skip to content

Commit

Permalink
feat: crew_status 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
na-reum committed Dec 9, 2023
1 parent 51c1728 commit 2b21cea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/page/meetingDetail/Feed/FeedPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { ampli } from '@/ampli';
import { useQueryGetMeeting } from '@api/meeting/hooks';
import { useInfinitePosts, useMutationUpdateLike } from '@api/post/hooks';
import { useQueryMyProfile } from '@api/user/hooks';
import LikeButton from '@components/button/LikeButton';
import FeedCreateModal from '@components/feed/Modal/FeedCreateModal';
import { POST_MAX_COUNT, TAKE_COUNT } from '@constants/feed';
import { MasonryInfiniteGrid } from '@egjs/react-infinitegrid';
Expand All @@ -14,8 +16,6 @@ import { styled } from 'stitches.config';
import EmptyView from './EmptyView';
import FeedItem from './FeedItem';
import MobileFeedListSkeleton from './Skeleton/MobileFeedListSkeleton';
import LikeButton from '@components/button/LikeButton';
import { useQueryGetMeeting } from '@api/meeting/hooks';

interface FeedPanelProps {
isMember: boolean;
Expand Down Expand Up @@ -63,7 +63,7 @@ const FeedPanel = ({ isMember }: FeedPanelProps) => {
const handleLikeClick = (postId: number) => (e: React.MouseEvent<HTMLButtonElement>) => {
e.preventDefault();
mutateLike(postId);
ampli.clickFeedlistLike({ crew_status: meeting?.approved, location: router.pathname });
ampli.clickFeedlistLike({ location: router.pathname });
};

const renderedPosts = postsData?.pages.map(post => {
Expand Down

0 comments on commit 2b21cea

Please sign in to comment.