app/containers/Dashboard/actions.js
/**
 * error during a withdraw
 *
 * @param  {string} error
 *
 * @return {object} An action object with a type of WITHDRAW_ERROR and error string
 */
error during a withdraw
@param  {string} error

@return {object} An action object with a type of WITHDRAW_ERROR and error string
error during a withdraw @param { string } error @return { object } An action object with a type of WITHDRAW_ERROR and error string
function withdrawError(error) {
  console.log(error);
  return {
    type: WITHDRAW_ERROR,
    error: error.toString(),
  };
}
function withdrawError ( error ) { console . log ( error ) ; return { type : WITHDRAW_ERROR , error : error . toString ( ) , } ; }
error during a withdraw
 @param  {string} error
error during a withdraw @param { string } error