Uncaught Error: Objects are not valid as a React child
나는 후자였다!
date : new Date(2022,8,17)
<h2 >{props.date}</h2>
<h2 >{props.date.toDateString()}</h2>
object의 타입을 명시해서 적어주는게 가장 좋다!