electracoin-ECA / electra-desktop

[DEPRECATED]- To be used only on specific request from the Electra team
https://electraproject.org
MIT License
17 stars 9 forks source link

WIP: Add global balance to state #15

Closed Powerade closed 6 years ago

Hyjaz commented 6 years ago

Create the following files in the overview folder:

Move the actionNames you have created in the action-names file inside electra folder, e.g.:

export const GET_GLOBAL_BALANCE = 'GET_GLOBAL_BALANCE'
export const GET_GLOBAL_BALANCE_SUCCESS = 'GET_GLOBAL_BALANCE_SUCCESS'
export const GET_GLOBAL_BALANCE_FAIL = 'GET_GLOBAL_BALANCE_FAIL'

To the action-names file you created in the overview folder. The same thing for the actions, reducer and epics you have created.