onAccountChanged not work

after switch network in metamsk, event onAccountChanged not work, if not change network event work correction. How repair?

1 Like

i can see your page but i when i click the connect (which is is russian i assume its the connect button)but all it do is download some image to my computer or maybe . can u share your code if your struggling with the auth part?

1 Like

ok so your using this event to affect your connect button. im still unsure quite just what you want to do. Is it that you want to have a connect wallet button that when a user clicks it, it connects them and displays there address and also that when a user changes accounts the account updates? would this be corect or are you using the onAccountChanged event for a different feature?