Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const requestToGetCoins = await() => {
- return (dispatch) => {
- dispatch(requestToGetUserSettingsInProgress());
- try{
- const users = async httpService.getUserSettings();
- dispatch(requestToGetUserSettingsSuccess(users));
- }
- catch(e){
- dispatch(requestToGetUserSettingsError(e));
- }
- };
Add Comment
Please, Sign In to add comment