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

Move most actions logic to react-providers #110

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

elboletaire
Copy link
Member

@elboletaire elboletaire commented Oct 13, 2023

closes #109

Users should continue importing <ElectionActions /> as they were doing already. In case someone was using the <ActionsProvider /> they probably will need to be using the same one, since it provides the toast implementation (and that's not in the react-providers, since it's a chakra dependency).

If you, as a developer, were using the useActions hook, you'll need to upgrade the imports and import it from @vocdoni/react-providers from now on.

@elboletaire elboletaire added the enhancement New feature or request label Oct 13, 2023
@elboletaire elboletaire merged commit 54f7555 into main Oct 23, 2023
1 check passed
@elboletaire elboletaire deleted the f/actions-to-react-providers-109 branch October 23, 2023 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Election actions logic should be in react-providers
1 participant