const newComments = comments?.filter((comments) => comments.postId === Number(id)) console.log("new", newComments) // console.log(typeof id) 타입 확인하는 법