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