app/containers/Dashboard/actions.js
/**
 * error while sending commit transaction
 *
 * @param  {string} error
 *
 * @return {object} An action object with a type of COMMIT_ETH_ERROR and error string
 */
error while sending commit transaction
@param  {string} error

@return {object} An action object with a type of COMMIT_ETH_ERROR and error string
error while sending commit transaction @param { string } error @return { object } An action object with a type of COMMIT_ETH_ERROR and error string
function commitEthError(error) {
  console.log(error);
  return {
    type: COMMIT_ETH_ERROR,
    error,
  };
}
function commitEthError ( error ) { console . log ( error ) ; return { type : COMMIT_ETH_ERROR , error , } ; }
error while sending commit transaction
 @param  {string} error
error while sending commit transaction @param { string } error