🐛 메인 게시글 목록 없을 경우 예외 처리

This commit is contained in:
shinmj
2021-11-11 14:02:45 +09:00
parent 5af904b97a
commit 952c5e248e
2 changed files with 23 additions and 12 deletions

View File

@@ -141,7 +141,7 @@ const MainLG = (props: MainLGProps) => {
return (
board && (
<div key={`board-div-${board.boardNo}`}>
{board.posts.map(post => (
{board.posts?.map(post => (
<dl key={`posts-dl-${post.postsNo}`}>
<dt>
<ActiveLink