Could you please help me understand why my state was not updated when I called two async functions in the first useEffect? and what is the best way to handle async data in t