diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-01-29 18:40:29 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-01-29 18:40:29 +0100 |
commit | 83674bd7a9d4524753f6d438ea88b76a52d43a9b (patch) | |
tree | 631b72692331c0b945a746d8a88e249a141ec70a /src | |
parent | 1a66e232a55dff8c889e5554f637f4d4e475179c (diff) |
cosmetics
Diffstat (limited to 'src')
-rw-r--r-- | src/talerTypes.ts | 4 | ||||
-rw-r--r-- | src/webex/pages/confirm-contract.tsx | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/talerTypes.ts b/src/talerTypes.ts index 611d667c5..62e001a99 100644 --- 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 index f41dba069..6089d0f8a 100644 --- 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; |