I am having an issue with calling an async function in React to an outside API where I\'m looking to call the function from two separate events, an onSubmit of a form, and a