diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-24 16:14:23 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-24 16:14:23 +0200 |
commit | 1c8206f8c0c8921643aa1b070fbe6648411300fe (patch) | |
tree | 1ee523e701fa369d0290d14e50a6f0b3cb5fb50f /src/pages/confirm-contract.tsx | |
parent | fc53a08bb0ffaf2bd49408f50701f17cdd603fb9 (diff) |
remove dead code and add comments
Diffstat (limited to 'src/pages/confirm-contract.tsx')
-rw-r--r-- | src/pages/confirm-contract.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/pages/confirm-contract.tsx b/src/pages/confirm-contract.tsx index d8f72ba01..6c2480c1e 100644 --- a/src/pages/confirm-contract.tsx +++ b/src/pages/confirm-contract.tsx @@ -17,13 +17,12 @@ /** * Page shown to the user to confirm entering * a contract. - * - * @author Florian Dold */ -"use strict"; -import {substituteFulfillmentUrl} from "../helpers"; +/** + * Imports. + */ import {Contract, AmountJson, ExchangeRecord} from "../types"; import {OfferRecord} from "../wallet"; import {renderContract, prettyAmount} from "../renderHtml"; @@ -201,8 +200,7 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt } let c = d.offer!.contract; console.log("contract", c); - document.location.href = substituteFulfillmentUrl(c.fulfillment_url, - this.state.offer); + document.location.href = c.fulfillment_url; }); } |