title: using async await with reduce
body: <p>i have following</p>
  <pre><code>const imageField = [&quot;logoUrl&quot;, &quot;fullLogoUrl&quot;]
  const onCreate = async (submitData: any) =&gt; {
    const uploadImageField = await imageField.reduce(
      async function (acc: any, cur: string) {
        await acc;
        const url = await uploadImage(submitData.general[cur][0]);
        acc[cur] = url;
        return acc;
      },
    {}
  );
  
  console.log(uploadImageField);
  }
  </code></pre>
  <p>this is my console.log</p>
  <pre><code>{
    logoUrl: &quot;https://........&quot;
  }
  </code></pre>
  <p>only logoUrl field is show, fullLogoUrl is missing</p>