summaryrefslogtreecommitdiff
path: root/src/renderHtml.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderHtml.tsx')
-rw-r--r--src/renderHtml.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/renderHtml.tsx b/src/renderHtml.tsx
index 79e101b17..1e6c5a8e1 100644
--- a/src/renderHtml.tsx
+++ b/src/renderHtml.tsx
@@ -22,7 +22,8 @@
import {AmountJson, Contract, Amounts} from "./types";
-import * as i18n from "src/i18n";
+import * as i18n from "./i18n";
+import * as React from "react";
export function prettyAmount(amount: AmountJson) {
let v = amount.value + amount.fraction / Amounts.fractionalBase;