diff --git a/src/components/invest/index.js b/src/components/invest/index.js index a425cd8e2..bf06d01bd 100644 --- a/src/components/invest/index.js +++ b/src/components/invest/index.js @@ -117,10 +117,6 @@ export class Invest extends React.Component { }) }) .then(() => { - this.setState({ - web3 - }) - if (!contractStore.crowdsale.addr) { this.setState({ loading: false }) return diff --git a/src/stores/Web3Store.js b/src/stores/Web3Store.js index b93095549..b070d4fe9 100644 --- a/src/stores/Web3Store.js +++ b/src/stores/Web3Store.js @@ -22,10 +22,6 @@ class Web3Store { }) } - @action setProperty = (property, value) => { - this[property] = value - } - getInfuraLink = (network) => { const infuraToken = 'kEpzZR9fIyO3a8gTqJcI' return `https://${network}.infura.io/${infuraToken}`