diff --git a/src/modules/Vote/Vote.jsx b/src/modules/Vote/Vote.jsx index 308bdd5..e32929d 100644 --- a/src/modules/Vote/Vote.jsx +++ b/src/modules/Vote/Vote.jsx @@ -74,8 +74,6 @@ class Vote extends Component { return } - //const catPosition = dapp.categoryPosition - // const upvoteSNTcost = currentSNTamount + parseInt(sntValue, 10) const currentSNTamount = dapp.sntValue const dappsByCategory = dappState.getDappsByCategory(dapp.category) @@ -187,10 +185,7 @@ class Vote extends Component { {!isUpvote && ( -
+
{sntValue}
)} diff --git a/src/modules/Withdraw/Withdraw.jsx b/src/modules/Withdraw/Withdraw.jsx index 4076c7c..deae787 100644 --- a/src/modules/Withdraw/Withdraw.jsx +++ b/src/modules/Withdraw/Withdraw.jsx @@ -54,7 +54,7 @@ class Withdraw extends React.Component { const currentSNTamount = dapp.sntValue const dappsByCategory = dappState.getDappsByCategory(dapp.category) - const afterVoteRating = sntValue !== '' ? parseInt(sntValue, 10) : 0 + const afterVoteRating = withdrawMax // TODO: make this dynamic let catPosition = dappsByCategory.length for (let i = 0; i < dappsByCategory.length; ++i) { @@ -122,7 +122,7 @@ class Withdraw extends React.Component {
diff --git a/src/modules/Withdraw/Withdraw.reducer.js b/src/modules/Withdraw/Withdraw.reducer.js index 56dee30..d969675 100644 --- a/src/modules/Withdraw/Withdraw.reducer.js +++ b/src/modules/Withdraw/Withdraw.reducer.js @@ -32,7 +32,7 @@ export const showWithdrawAction = dapp => { ) { dispatch( showAlertAction( - 'There is an active transaction. Please wait for it to finish and then you could be able to create your Ðapp', + 'There is a pending transaction. Please wait for it to finish and then you will be able to submit your Ðapp', ), ) } else { @@ -58,7 +58,7 @@ export const withdrawAction = (dapp, sntValue) => { onStartProgressAction( dapp.name, dapp.image, - 'Status is an open source mobile DApp browser and messenger build for #Etherium', + dapp.description, TYPE_WITHDRAW, ), )