title: How release Promise pending with async-await in react
body: <p>my Code :</p>
  <pre><code>const attList = async (areaCode, cityCode) =&gt; {
      const url = `http://api.visitkorea.or.kr/openapi/service/rest/KorService/areaBasedList?ServiceKey=${serviceKey}&amp;contentTypeId=12&amp;areaCode=${areaCode}&amp;numOfRows=40&amp;sigunguCode=${cityCode}&amp;MobileOS=ETC&amp;MobileApp=AppTest`;
      try {
          const {data:res} = await axios.get(url)
          const list = res.response.body.items.item;
          return list
      } catch (err) {
          console.log(err);
      }
  }
  
  console.log(attList(1, 1))
  </code></pre>
  <p>on Console :
  <a href="https://i.stack.imgur.com/LbrN4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LbrN4.png" alt="enter image description here" /></a></p>
  <p>PromiseResult is Allright, but I don't know how release PromiseResult from Promise{}</p>