Im using the moraliss ample code and modified it a bit for my dashboard
everything was working but since recently i cant log in to my dashboard anymore
When i click the login button, metamask pops up and i sign but than im not being redirected to the actual dashboard- on the UI nothing happens and in the console i get this message
MetaMask: The event ‘close’ is deprecated and may be removed in the future. Please use ‘disconnect’ instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1193#disconnect
Here is a link to the dashboard
Here is the code