|
|
@ -41,9 +41,9 @@ class InvoiceModal extends React.Component { |
|
|
|
updateQRContent() { |
|
|
|
this.setState({ |
|
|
|
content: JSON.stringify({ |
|
|
|
"address": this.state.qrAddress, |
|
|
|
"amount": this.state.qrAmount, |
|
|
|
"coin": this.props.ActiveCoin.coin, |
|
|
|
address: this.state.qrAddress, |
|
|
|
amount: this.state.qrAmount, |
|
|
|
coin: this.props.ActiveCoin.coin, |
|
|
|
}), |
|
|
|
}); |
|
|
|
} |
|
|
@ -115,7 +115,6 @@ class InvoiceModal extends React.Component { |
|
|
|
} else { |
|
|
|
return InvoiceModalButtonRender.call(this); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -134,10 +133,8 @@ const mapStateToProps = (state) => { |
|
|
|
}, |
|
|
|
Dashboard: { |
|
|
|
activeHandle: state.Dashboard.activeHandle, |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
export default connect(mapStateToProps)(InvoiceModal); |
|
|
|