Skip to content

Commit

Permalink
minor fixes: duplicate and unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
vbaranov committed Apr 27, 2018
1 parent 3158465 commit 53f81aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/components/invest/index.js
Expand Up @@ -117,10 +117,6 @@ export class Invest extends React.Component {
})
})
.then(() => {
this.setState({
web3
})

if (!contractStore.crowdsale.addr) {
this.setState({ loading: false })
return
Expand Down
4 changes: 0 additions & 4 deletions src/stores/Web3Store.js
Expand Up @@ -22,10 +22,6 @@ class Web3Store {
})
}

@action setProperty = (property, value) => {
this[property] = value
}

getInfuraLink = (network) => {
const infuraToken = 'kEpzZR9fIyO3a8gTqJcI'
return `https://${network}.infura.io/${infuraToken}`
Expand Down

0 comments on commit 53f81aa

Please sign in to comment.