Skip to content

Commit

Permalink
Merge pull request #14 from Likelion12-KNU/hotfix/merge-error
Browse files Browse the repository at this point in the history
Hotfix/merge error
  • Loading branch information
mouiye authored May 30, 2024
2 parents 26c3ac6 + 6507a05 commit 5b71426
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PostList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ function PostList() {
// 게시물들을 렌더링 하는 하는 부분이다.
return (
<div id='PostList_div'>
<div className="fixed-form-container">
<PostForm registerPost={registerPost} />
{/* // PostForm 컴포넌트에 registerPost 함수 전달 */}
</div>
{postList.data.map((v, i) => (
<Post
key={v._id} // 고유한 키 prop으로 v.id 사용
Expand Down

0 comments on commit 5b71426

Please sign in to comment.