summaryrefslogtreecommitdiff
path: root/src/webex/pages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-05-15 12:53:35 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-05-15 12:53:35 +0530
commit35c83414f9e0af11012c1a2e00672d2a7c1856ae (patch)
treebe7d1ad1787706400aaac931c00778b7699a1d1b /src/webex/pages
parentcda75feb5bf7623439f3f5f8da0c6da0c164b3fb (diff)
downloadwallet-core-35c83414f9e0af11012c1a2e00672d2a7c1856ae.tar.gz
wallet-core-35c83414f9e0af11012c1a2e00672d2a7c1856ae.tar.bz2
wallet-core-35c83414f9e0af11012c1a2e00672d2a7c1856ae.zip
fix issues in the webextension refund UI
Diffstat (limited to 'src/webex/pages')
-rw-r--r--src/webex/pages/refund.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webex/pages/refund.tsx b/src/webex/pages/refund.tsx
index 621a286bb..c5d6a00df 100644
--- a/src/webex/pages/refund.tsx
+++ b/src/webex/pages/refund.tsx
@@ -36,9 +36,9 @@ function RefundStatusView(props: { talerRefundUri: string }): JSX.Element {
useEffect(() => {
const doFetch = async (): Promise<void> => {
try {
- const hc = await wxApi.applyRefund(props.talerRefundUri);
+ const result = await wxApi.applyRefund(props.talerRefundUri);
setApplied(true);
- const r = await wxApi.getPurchaseDetails(hc);
+ const r = await wxApi.getPurchaseDetails(result.proposalId);
setPurchaseDetails(r);
} catch (e) {
console.error(e);