This function had been working just fine for months but recently after removing the edge browser metamask extension and redownloading from the google chrome store it doesn’t seem to work…
React.useEffect(() => {
const fetchData = async () => {
if (!user) return null;
setUserName(user.get('username'))
setEth(user.get('ethAddress'))
}
fetchData()
})