Skip to content

Commit

Permalink
Merge pull request #13 from MyTonSwap/develop
Browse files Browse the repository at this point in the history
Bugfix and improvements
  • Loading branch information
Ho3einWave authored Nov 21, 2024
2 parents e74e72a + 2b82a52 commit 0f97334
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions lib/components/SwapButton/Inprogress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ const Inprogress = () => {
hash: transactionHash,
},
});
sendTransaction({
hash: transactionHash,
query_id: transactionQueryId!,
});
setModalState(ModalState.DONE);
} else {
onSwap({
Expand All @@ -63,10 +67,7 @@ const Inprogress = () => {
hash: transactionHash,
},
});
sendTransaction({
hash: transactionHash,
query_id: transactionQueryId!,
});

setErrorMessage({
errorTitle: t("errors.transaction_failed"),
errorMessage: t("errors.unknown_error"),
Expand Down
2 changes: 1 addition & 1 deletion lib/i18n/langs/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"confirm_title": "Confirm swap",
"confirm_button": "Confirm",
"confirm_close": "Close",
"confirm_in_wallet": "Confirm the transaction in {{wallet}} your Wallet",
"confirm_in_wallet": "Confirm the transaction in your {{wallet}} Wallet",
"action_in_progress": "It will only take a moment"
},
"transaction": {
Expand Down

0 comments on commit 0f97334

Please sign in to comment.