Skip to content

Commit

Permalink
feat: 댓글 컴포넌트 사이 공백 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
xodms0309 committed Oct 12, 2023
1 parent d6ed26b commit a860bb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Recipe/CommentList/CommentList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const CommentList = ({ recipeId }: CommentListProps) => {
const comments = data.pages.flatMap((page) => page.comments);

return (
<>
<section>
<Heading as="h3" size="lg">
댓글 ({comments.length}개)
</Heading>
Expand All @@ -28,7 +28,7 @@ const CommentList = ({ recipeId }: CommentListProps) => {
<CommentItem key={comment.id} recipeComment={comment} />
))}
<div ref={scrollRef} style={{ height: '1px' }} aria-hidden />
</>
</section>
);
};

Expand Down
1 change: 1 addition & 0 deletions frontend/src/pages/RecipeDetailPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export const RecipeDetailPage = () => {
<CommentList recipeId={Number(recipeId)} />
</Suspense>
</ErrorBoundary>
<Spacing size={108} />
<CommentForm recipeId={Number(recipeId)} />
<Spacing size={12} />
</>
Expand Down

0 comments on commit a860bb6

Please sign in to comment.