I am getting Object is possibly null, magic link, trying to get ETH Address

You may need to authenticate first and then to use that in useEffect to access the user object

i have already authenticate with magicAuth

providers\MoralisDappProvider\MoralisDappProvider.tsx (24:13) @ eval

  22 |   () =>
  23 |     setWalletAddress(
> 24 |       web3.givenProvider?.selectedAddress || user?.get("ethAddress")
     |           ^
  25 |     ),
  26 |   [web3, user]
  27 | );
TypeError: Cannot read properties of null (reading 'givenProvider')

maybe you have to use something like is authenticated here [web3, user]