title: Async/Await function gets called twice
body: <p>I made a simple Async function and wanted to test run it in my react app. The function is:</p>
  <pre><code>async function WAIT(time: any) {
    await new Promise((r) =&gt; setTimeout(r, time))
  }
  
  export async function GetMemberList(orgId: string):Promise&lt;ResponseInterface&gt;{
    await WAIT(3000);
    return {code: 404, data: &quot;Data&quot;}
  } 
  </code></pre>
  <p>And i try to call it in my main app like this:</p>
  <pre><code>function App() {
    async function fn() {
      let x = await GetMemberList('SOme');
      console.log(x);
    }
    fn();
    return (&lt;div&gt;.....&lt;div&gt;)
  }
  </code></pre>
  <p>But the problem is <code>console.log(x)</code> runs twice. I get {code: 404, data: &quot;Data&quot;} twice. Why is that? Thanks</p>