import { DEPOSIT_SUCCESS, DEPOSIT_ERROR, DEPOSIT_PENDING, DEPOSIT_RESET } from "../types/DepositType"; export const fetchDepositPending = () => ({ type: DEPOSIT_PENDING }); export const fetchDepositSuccess = (res) => ({ type: DEPOSIT_SUCCESS, result: res, }); export const fetchDepositError = (error) => ({ type: DEPOSIT_ERROR, result: error }); export const fetchDepositReset = (error) => ({ type: DEPOSIT_RESET });