From e0ea71220e04c6f1660e3c388135a95be2b506a3 Mon Sep 17 00:00:00 2001 From: eunsukimme Date: Sat, 9 Dec 2023 20:28:45 +0900 Subject: [PATCH] feat: add meetingId props on FeedItem --- pages/post/index.tsx | 2 +- src/components/page/meetingDetail/Feed/FeedItem/index.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/post/index.tsx b/pages/post/index.tsx index d6a93536..60b48d44 100644 --- a/pages/post/index.tsx +++ b/pages/post/index.tsx @@ -218,7 +218,7 @@ export default function PostPage() { {/* TODO: FeedItem 인터페이스 안 맞는거 맞춰주기. 내부에서 query params 의존하는 부분 수정하기. */} {/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */} {/* @ts-ignore */} - + ))} diff --git a/src/components/page/meetingDetail/Feed/FeedItem/index.tsx b/src/components/page/meetingDetail/Feed/FeedItem/index.tsx index f5e7e24b..969de97f 100644 --- a/src/components/page/meetingDetail/Feed/FeedItem/index.tsx +++ b/src/components/page/meetingDetail/Feed/FeedItem/index.tsx @@ -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';