diff --git a/src/pages/RecipeDetailPage/RecipeDetailPage.tsx b/src/pages/RecipeDetailPage/RecipeDetailPage.tsx index 47a5f0ce..e1a2baca 100644 --- a/src/pages/RecipeDetailPage/RecipeDetailPage.tsx +++ b/src/pages/RecipeDetailPage/RecipeDetailPage.tsx @@ -24,6 +24,7 @@ import { MemberImage } from '@/components/Members'; import { ProductOverviewItem } from '@/components/Product'; import { CommentForm, CommentList, RecipeFavoriteButton } from '@/components/Recipe'; import { useRecipeDetailQuery } from '@/hooks/queries/recipe'; +import { vars } from '@/styles/theme.css'; import { getFormattedDate } from '@/utils/date'; import displaySlice from '@/utils/displaySlice'; @@ -37,7 +38,7 @@ export const RecipeDetailPage = () => { const { isOpen, isClosing, handleOpenBottomSheet, handleCloseBottomSheet } = useBottomSheet(); - const { id, images, title, content, author, products, favorite, createdAt } = recipeDetail; + const { id, images, title, content, author, products, favorite, favoriteCount, createdAt } = recipeDetail; return ( <> @@ -65,10 +66,10 @@ export const RecipeDetailPage = () => {
- +
- 어떤 상품을 사용했나요? + 이런 상품들을 사용했어요!