Why my useState with async function not showing in console.log inside the function; When i do a console.log in variable he show undefined.
import React, { use