cosmetics

This commit is contained in:
Florian Dold 2018-01-29 18:40:29 +01:00
parent 1a66e232a5
commit 83674bd7a9
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 2 additions and 3 deletions

View File

@ -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";
}

View File

@ -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;