diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-05-15 12:53:35 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-05-15 12:53:35 +0530 |
commit | 35c83414f9e0af11012c1a2e00672d2a7c1856ae (patch) | |
tree | be7d1ad1787706400aaac931c00778b7699a1d1b /src/webex/pages | |
parent | cda75feb5bf7623439f3f5f8da0c6da0c164b3fb (diff) | |
download | wallet-core-35c83414f9e0af11012c1a2e00672d2a7c1856ae.tar.xz |
fix issues in the webextension refund UI
Diffstat (limited to 'src/webex/pages')
-rw-r--r-- | src/webex/pages/refund.tsx | 4 |
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); |