From 1c8206f8c0c8921643aa1b070fbe6648411300fe Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Wed, 24 May 2017 16:14:23 +0200
Subject: remove dead code and add comments

---
 src/pages/confirm-contract.tsx | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

(limited to 'src/pages/confirm-contract.tsx')

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;
     });
   }
 
-- 
cgit v1.2.3

