ilink-world/redux/actions/WalletActions.js

16 lines
391 B
JavaScript
Raw Normal View History

2020-04-17 22:03:04 +00:00
import { WALLET_LIST_PENDING, WALLET_LIST_SUCCESS, WALLET_LIST_ERROR } from "../types/WalletType";
export const fetchWalletListPending = () => ({
type: WALLET_LIST_PENDING
});
export const fetchWalletListSuccess = (res) => ({
type: WALLET_LIST_SUCCESS,
result: res,
});
export const fetchWalletListError = (error) => ({
type: WALLET_LIST_ERROR,
result: error
});