From 538f27e9dd5f55004e1fd1849ec7939afbec5c88 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Thu, 29 Sep 2022 10:05:17 -0300
Subject: fix #7332

---
 packages/taler-wallet-webextension/src/wallet/Transaction.tsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.tsx')

diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
index 8e479f988..c95b79fbc 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
@@ -116,8 +116,10 @@ export function TransactionPage({ tid, goToWalletHistory }: Props): VNode {
       onDelete={() =>
         wxApi.deleteTransaction(tid).then(() => goToWalletHistory(currency))
       }
-      onRetry={() =>
-        wxApi.retryTransaction(tid).then(() => goToWalletHistory(currency))
+      onRetry={async () =>
+        await wxApi
+          .retryTransaction(tid)
+          .then(() => goToWalletHistory(currency))
       }
       onRefund={(id) => wxApi.applyRefundFromPurchaseId(id).then()}
       onBack={() => goToWalletHistory(currency)}
-- 
cgit v1.2.3

