Skip to content

Commit

Permalink
Merge pull request #894 from ChronoBank/release
Browse files Browse the repository at this point in the history
Release 0.9.9
  • Loading branch information
wAISw committed Jan 18, 2019
2 parents 036c5f0 + 256de00 commit e4d4fd2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
17 changes: 14 additions & 3 deletions src/components/dashboard/DepositTokens/DepositTokensForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ import { connect } from 'react-redux'
import { Translate } from 'react-redux-i18n'
import { change, Field, formPropTypes, formValueSelector, reduxForm } from 'redux-form/immutable'
import { DUCK_ASSETS_HOLDER } from 'redux/assetsHolder/actions'
import { DUCK_MAIN_WALLET, estimateGasForDeposit, ETH, FEE_RATE_MULTIPLIER, mainApprove, mainRevoke, requireTIME } from 'redux/mainWallet/actions'
import {
DUCK_MAIN_WALLET,
estimateGasForDeposit,
ETH,
FEE_RATE_MULTIPLIER,
mainApprove,
mainRevoke,
requireTIME,
} from 'redux/mainWallet/actions'
import { TX_DEPOSIT, TX_WITHDRAW_SHARES } from 'dao/AssetHolderDAO'
import { TX_APPROVE } from 'dao/ERC20DAO'
import { DUCK_SESSION } from 'redux/session/actions'
Expand Down Expand Up @@ -100,7 +108,10 @@ function mapDispatchToProps (dispatch) {
skipSlider: true,
})),
requireTIME: () => dispatch(requireTIME()),
receiveToken: (tokenId, blockchain) => dispatch(modalsOpen({ component: ReceiveTokenModal, props: { tokenId, blockchain } })),
receiveToken: (tokenId, blockchain) => dispatch(modalsOpen({
component: ReceiveTokenModal,
props: { tokenId, blockchain },
})),
}
}

Expand Down Expand Up @@ -369,7 +380,7 @@ export default class DepositTokensForm extends PureComponent {
<Translate value={prefix('noteEth')} />
</div>
)}
{balance.lte(0) && (
{balance.lte(0) && this.state.step !== WITHDRAW && (
<div styleName='note'>
<div styleName='icon'>
<i className='chronobank-icon'>warning</i>
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ async-eventemitter@^0.2.2:
dependencies:
async "^2.4.0"

"async-eventemitter@github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c":
async-eventemitter@ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c:
version "0.2.3"
resolved "https://codeload.github.com/ahultgren/async-eventemitter/tar.gz/fa06e39e56786ba541c180061dbf2c0a5bbf951c"
dependencies:
Expand Down Expand Up @@ -7050,9 +7050,9 @@ lcov-parse@0.0.10:
version "0.0.10"
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3"

"ledger-wallet-provider@github:mikefluff/ledger-wallet-provider":
version "1.15.6"
resolved "https://codeload.github.com/mikefluff/ledger-wallet-provider/tar.gz/2ce0e474fe00ca69b6511758afc1811d87b37d8e"
"ledger-wallet-provider@github:mikefluff/ledger-wallet-provider#50dbc9d7176db0cfc934bf55f564aa412aeeab45":
version "1.15.7"
resolved "https://codeload.github.com/mikefluff/ledger-wallet-provider/tar.gz/50dbc9d7176db0cfc934bf55f564aa412aeeab45"
dependencies:
"@ledgerhq/hw-app-eth" "^4.14.0"
"@ledgerhq/hw-transport-u2f" "^4.13.0"
Expand Down Expand Up @@ -12081,7 +12081,7 @@ truffle-error@0.0.2:
version "0.0.2"
resolved "https://registry.yarnpkg.com/truffle-error/-/truffle-error-0.0.2.tgz#01b189b78505566ae1689c239c7ca2dd121cfe4c"

"truffle-hdwallet-provider@github:mikefluff/truffle-hdwallet-provider#7a2eccca1ba17c235a3ef258914ca74ea5f13014":
truffle-hdwallet-provider@mikefluff/truffle-hdwallet-provider#7a2eccca1ba17c235a3ef258914ca74ea5f13014:
version "0.0.5"
resolved "https://codeload.github.com/mikefluff/truffle-hdwallet-provider/tar.gz/7a2eccca1ba17c235a3ef258914ca74ea5f13014"
dependencies:
Expand Down

0 comments on commit e4d4fd2

Please sign in to comment.