diff options
Diffstat (limited to 'src/pages/confirm-create-reserve.tsx')
-rw-r--r-- | src/pages/confirm-create-reserve.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pages/confirm-create-reserve.tsx b/src/pages/confirm-create-reserve.tsx index da86729d3..44dd60d95 100644 --- a/src/pages/confirm-create-reserve.tsx +++ b/src/pages/confirm-create-reserve.tsx @@ -396,7 +396,11 @@ export async function main() { throw Error(i18n.str`Can't parse wire_types: ${e.message}`); } - const suggestedExchangeUrl = await getSuggestedExchange(amount.currency); + let suggestedExchangeUrl = await getSuggestedExchange(amount.currency); + if (!suggestedExchangeUrl && query.suggested_exchange_url) { + suggestedExchangeUrl = query.suggested_exchange_url; + } + let args = { wt_types, suggestedExchangeUrl, |