Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saved data in stores such as selectedAccount, connected, chainId removes on refresh? #37

Open
manishshahi1 opened this issue Mar 4, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@manishshahi1
Copy link

I'm facing a problem in which when I am refreshing a page, the data is lost.

@clbrge
Copy link
Owner

clbrge commented Mar 5, 2022

Yes, that's how store works. Data is not persistent when reloading. You will have to implement that yourself on your side. By example saving the account and connection type in localstorage and trying automatic connection when these infos are detected on reload.
I'm open to have plugin implementing this but not in core package.

@clbrge clbrge added enhancement New feature or request help wanted Extra attention is needed labels Mar 5, 2022
@manishshahi1
Copy link
Author

I will give it a try! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants