commit 83674bd7a9d4524753f6d438ea88b76a52d43a9b parent 1a66e232a55dff8c889e5554f637f4d4e475179c Author: Florian Dold <florian.dold@gmail.com> Date: Mon, 29 Jan 2018 18:40:29 +0100 cosmetics Diffstat:
| M | src/talerTypes.ts | | | 4 | ++-- |
| M | src/webex/pages/confirm-contract.tsx | | | 1 | - |
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/talerTypes.ts b/src/talerTypes.ts @@ -466,9 +466,9 @@ export interface PayReq { order_id: string; /** - * Mode for /pay (pay or refund) + * Mode for /pay. */ - mode: string; + mode: "pay" | "abort-refund"; } diff --git a/src/webex/pages/confirm-contract.tsx b/src/webex/pages/confirm-contract.tsx @@ -257,7 +257,6 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt this.setState({ confirmPayError: e.detail }); return; } finally { - this.setState({ working: false }); } console.log("payResult", payResult); document.location.href = payResult.nextUrl;