nimi-app / app

Nimi main App repo. Manage your Nimi's!
https://nimi.io
Other
9 stars 2 forks source link

Refreshing a page inside of the dapp shouldn't log you out #254

Closed zamli closed 1 year ago

wjram2133 commented 1 year ago

It seems to be working for me sir. Is there any page in particular where this happens for you?

zamli commented 1 year ago

It seems to be working for me sir. Is there any page in particular where this happens for you?

Do you get logged out if you refresh? The behaviour im looking for is to stay on the page and still be logged in.

wjram2133 commented 1 year ago

This should be fixed in the latest snapshot of #development branch. I tried several times.

Specifically: https://github.com/nimi-app/app/blob/development/src/providers/WagmiProvider.tsx

"autoConnect": true

which will redirect the user to the page without being disconnected on refresh.

The one deployed on prod has this issue.

Mi-Lan commented 1 year ago

yeah I fixed it in this pr https://github.com/nimi-app/app/pull/248