How to use an async database call to set a variable with useState() and useEffect()

welcome to shbcf.ru