mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 19:55:53 +03:00
btc: add x to final component in sending flow
This commit is contained in:
parent
78c0235c99
commit
bdf64a9613
@ -80,6 +80,7 @@ export default class Invoice extends Component {
|
||||
{ sent ?
|
||||
<Sent
|
||||
payee={payee}
|
||||
stopSending={stopSending}
|
||||
denomination={denomination}
|
||||
denomAmount={denomAmount}
|
||||
satsAmount={satsAmount}
|
||||
|
@ -11,7 +11,7 @@ import {
|
||||
} from '@tlon/indigo-react';
|
||||
|
||||
export default function Sent(props) {
|
||||
const { payee, denomination, denomAmount, satsAmount } = props;
|
||||
const { payee, denomination, denomAmount, satsAmount, stopSending } = props;
|
||||
return (
|
||||
<Col
|
||||
height='400px'
|
||||
@ -21,6 +21,16 @@ export default function Sent(props) {
|
||||
mb={5}
|
||||
p={5}
|
||||
>
|
||||
<Row
|
||||
flexDirection='row-reverse'
|
||||
>
|
||||
<Icon
|
||||
color='white'
|
||||
icon='X'
|
||||
cursor='pointer'
|
||||
onClick={stopSending}
|
||||
/>
|
||||
</Row>
|
||||
<Center>
|
||||
<Text color='white'>{`You sent BTC to ${payee}`}</Text>
|
||||
</Center>
|
||||
|
Loading…
Reference in New Issue
Block a user