app/containers/Dashboard/actions.js
/**
 * withdraw transaction were sent successfully
 *
 * @param  {string} withdrawMinedRecipt recipt
 *
 * @return {object} An action object with a type of WITHDRAW_SEND_SUCCESS and tx
 */
withdraw transaction were sent successfully
@param  {string} withdrawMinedRecipt recipt

@return {object} An action object with a type of WITHDRAW_SEND_SUCCESS and tx
withdraw transaction were sent successfully @param { string } withdrawMinedRecipt recipt @return { object } An action object with a type of WITHDRAW_SEND_SUCCESS and tx
function withdrawMinedSuccess(withdrawMinedRecipt) {
  try {
    const msg =
    `Withdraw transaction ${withdrawMinedRecipt.transactionHash.substring(0, 8)}
     mined succesfully on block ${withdrawMinedRecipt.blockNumber}`;
    message.info(msg, 8);
  } catch (err) {
    console.log(err);
  }
  return {
    type: WITHDRAW_MINED_SUCCESS,
    withdrawMinedRecipt,
  };
}
function withdrawMinedSuccess ( withdrawMinedRecipt ) { try { const msg = ` ${ withdrawMinedRecipt . transactionHash . substring ( 0 , 8 ) } ${ withdrawMinedRecipt . blockNumber } ` ; message . info ( msg , 8 ) ; } catch ( err ) { console . log ( err ) ; } return { type : WITHDRAW_MINED_SUCCESS , withdrawMinedRecipt , } ; }
withdraw transaction were sent successfully
 @param  {string} withdrawMinedRecipt recipt
withdraw transaction were sent successfully @param { string } withdrawMinedRecipt recipt