vocdoni / ui-components

Vocdoni UI components libs
GNU General Public License v3.0
3 stars 2 forks source link

Move most actions logic to react-providers #110

Closed elboletaire closed 10 months ago

elboletaire commented 11 months ago

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.