diff options
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; }); } |