mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 10:05:09 +03:00
btc: make invoice send btc button reactive
This commit is contained in:
parent
4c22a439e4
commit
32477257c9
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user