useEffect에서는 async await을 사용할 수 없다.
다음과 같이 써야 한다.
useEffect(()=>{ async function data() { ... } data() })