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

Persist current store value #185

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

Develonaut
Copy link
Contributor

Update to useEffect to use the store's current value first before the default current in parameters. This allows the current value to persist between page refreshes and story navigation.

Update to useEffect to use the store's `current` value first before the default `current` in parameters. This allows the current value to persist between page refreshes and story navigation.
@hipstersmoothie hipstersmoothie merged commit 3a2d770 into hipstersmoothie:master Sep 14, 2022
@hipstersmoothie
Copy link
Owner

🚀 PR was released in v1.1.2 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants