Skip to content

Commit

Permalink
feat: add meetingId props on FeedItem
Browse files Browse the repository at this point in the history
  • Loading branch information
eunsukimme committed Dec 9, 2023
1 parent bb86f00 commit e0ea712
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pages/post/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export default function PostPage() {
{/* TODO: FeedItem 인터페이스 안 맞는거 맞춰주기. 내부에서 query params 의존하는 부분 수정하기. */}
{/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */}
{/* @ts-ignore */}
<FeedItem post={post} />
<FeedItem post={post} meetingId={meetingId} />
</a>
</Link>
))}
Expand Down
1 change: 0 additions & 1 deletion src/components/page/meetingDetail/Feed/FeedItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import ProfileDefaultIcon from '@assets/svg/profile_default.svg?rect';
import Avatar from '@components/avatar/Avatar';
import { AVATAR_MAX_LENGTH, CARD_CONTENT_MAX_LENGTH, CARD_TITLE_MAX_LENGTH } from '@constants/feed';
import { THUMBNAIL_IMAGE_INDEX } from '@constants/index';
import { useDisplay } from '@hooks/useDisplay';
import { playgroundLink } from '@sopt-makers/playground-common';
import { fromNow } from '@utils/dayjs';
import truncateText from '@utils/truncateText';
Expand Down

0 comments on commit e0ea712

Please sign in to comment.