From d0e0c6baf274aab378233a7ae0d67307c03b3a7c Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Mon, 29 May 2017 15:18:48 +0200
Subject: fix linter errors

---
 src/webex/renderHtml.tsx | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'src/webex/renderHtml.tsx')

diff --git a/src/webex/renderHtml.tsx b/src/webex/renderHtml.tsx
index 440cd5789..d6f923aa1 100644
--- a/src/webex/renderHtml.tsx
+++ b/src/webex/renderHtml.tsx
@@ -24,17 +24,19 @@
 /**
  * Imports.
  */
+import { amountToPretty } from "../helpers";
+import * as i18n from "../i18n";
 import {
   AmountJson,
   Amounts,
   Contract,
 } from "../types";
-import * as i18n from "../i18n";
-import { amountToPretty } from "../helpers";
 
 import * as React from "react";
 
-
+/**
+ * Render contract terms for the end user to view.
+ */
 export function renderContract(contract: Contract): JSX.Element {
   let merchantName;
   if (contract.merchant && contract.merchant.name) {
@@ -42,7 +44,7 @@ export function renderContract(contract: Contract): JSX.Element {
   } else {
     merchantName = <strong>(pub: {contract.merchant_pub})</strong>;
   }
-  let amount = <strong>{amountToPretty(contract.amount)}</strong>;
+  const amount = <strong>{amountToPretty(contract.amount)}</strong>;
 
   return (
     <div>
-- 
cgit v1.2.3

