btc: make invoice send btc button reactive

This commit is contained in:
pkova 2021-04-14 20:38:07 +03:00 committed by ixv
parent 4c22a439e4
commit 32477257c9

View File

@ -137,16 +137,16 @@ export default class Invoice extends Component {
mt={4}
>
<Button
primary
children='Send BTC'
mr={3}
fontSize={1}
color='white'
backgroundColor='blue'
borderColor='none'
borderRadius='24px'
py='24px'
px='24px'
onClick={() => this.sendBitcoin(this.state.masterTicket, store.state.psbt)}
disabled={!this.state.ready}
style={{cursor: this.state.ready ? "pointer" : "default"}}
/>
</Row>