mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-20 12:19:00 +00:00
Fix prompt order for payout/escrow wait
This commit is contained in:
parent
f7d4648fa5
commit
da6a5c02c0
@ -380,7 +380,7 @@ const TradeBox = ({
|
||||
} else if (status == 6) {
|
||||
bondStatus = 'locked';
|
||||
if (isBuyer) {
|
||||
title = 'Submit payout info';
|
||||
title = 'Submit payout info for {{amountSats}} Sats';
|
||||
titleVariables = { amountSats: pn(order.invoice_amount) };
|
||||
prompt = function () {
|
||||
return (
|
||||
@ -413,7 +413,7 @@ const TradeBox = ({
|
||||
if (isBuyer) {
|
||||
title = 'Your info looks good!';
|
||||
prompt = () => {
|
||||
return <PayoutWaitPrompt />;
|
||||
return <EscrowWaitPrompt />;
|
||||
};
|
||||
} else {
|
||||
title = 'Lock {{amountSats}} Sats as collateral';
|
||||
@ -428,7 +428,7 @@ const TradeBox = ({
|
||||
} else if (status == 8) {
|
||||
bondStatus = 'locked';
|
||||
if (isBuyer) {
|
||||
title = 'Submit payout info';
|
||||
title = 'Submit payout info for {{amountSats}} Sats';
|
||||
titleVariables = { amountSats: pn(order.invoice_amount) };
|
||||
prompt = () => {
|
||||
return (
|
||||
@ -449,7 +449,7 @@ const TradeBox = ({
|
||||
} else {
|
||||
title = 'The trade collateral is locked!';
|
||||
prompt = () => {
|
||||
return <EscrowWaitPrompt />;
|
||||
return <PayoutWaitPrompt />;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user