Code:
const App = () => {
const { account } = useWeb3React()
return (
{account
? <Dasboard/>
: <HomePage/>
}
)
}
Issue:
The account does not come immediately, but after about half a second, because of this there is a blinking of the interface. While there is no account, the HomePage component is shown for a second, then the Dashboard is shown. How do I fix this? If account false I always must render HomePage.