From f180d0580457e1e9bd502293df327dfe138dd422 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Wed, 12 Aug 2020 12:41:00 +0530
Subject: remove excessive namespacing, format

---
 packages/taler-wallet-webextension/src/renderHtml.tsx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/renderHtml.tsx')

diff --git a/packages/taler-wallet-webextension/src/renderHtml.tsx b/packages/taler-wallet-webextension/src/renderHtml.tsx
index 89f6c12e8..fcf64b6d5 100644
--- a/packages/taler-wallet-webextension/src/renderHtml.tsx
+++ b/packages/taler-wallet-webextension/src/renderHtml.tsx
@@ -23,7 +23,7 @@
 /**
  * Imports.
  */
-import { AmountJson, Amounts, time, walletTypes } from "taler-wallet-core";
+import { AmountJson, Amounts, stringifyTimestamp, ExchangeWithdrawDetails } from "taler-wallet-core";
 import * as i18n from "./i18n";
 import React from "react";
 
@@ -127,7 +127,7 @@ export class Collapsible extends React.Component<
 
 function WireFee(props: {
   s: string;
-  rci: walletTypes.ExchangeWithdrawDetails;
+  rci: ExchangeWithdrawDetails;
 }): JSX.Element {
   return (
     <>
@@ -144,7 +144,7 @@ function WireFee(props: {
       <tbody>
         {props.rci.wireFees.feesForType[props.s].map((f) => (
           <tr key={f.sig}>
-            <td>{time.stringifyTimestamp(f.endStamp)}</td>
+            <td>{stringifyTimestamp(f.endStamp)}</td>
             <td>{renderAmount(f.wireFee)}</td>
             <td>{renderAmount(f.closingFee)}</td>
           </tr>
@@ -155,7 +155,7 @@ function WireFee(props: {
 }
 
 function AuditorDetailsView(props: {
-  rci: walletTypes.ExchangeWithdrawDetails | null;
+  rci: ExchangeWithdrawDetails | null;
 }): JSX.Element {
   const rci = props.rci;
   console.log("rci", rci);
@@ -192,7 +192,7 @@ function AuditorDetailsView(props: {
 }
 
 function FeeDetailsView(props: {
-  rci: walletTypes.ExchangeWithdrawDetails | null;
+  rci: ExchangeWithdrawDetails | null;
 }): JSX.Element {
   const rci = props.rci;
   if (!rci) {
@@ -222,7 +222,7 @@ function FeeDetailsView(props: {
       <p>
         {i18n.str`Rounding loss:`} {overhead}
       </p>
-      <p>{i18n.str`Earliest expiration (for deposit): ${time.stringifyTimestamp(
+      <p>{i18n.str`Earliest expiration (for deposit): ${stringifyTimestamp(
         rci.earliestDepositExpiration,
       )}`}</p>
       <h3>Coin Fees</h3>
@@ -268,7 +268,7 @@ function FeeDetailsView(props: {
  * Shows details about a withdraw request.
  */
 export function WithdrawDetailView(props: {
-  rci: walletTypes.ExchangeWithdrawDetails | null;
+  rci: ExchangeWithdrawDetails | null;
 }): JSX.Element {
   const rci = props.rci;
   return (
-- 
cgit v1.2.3

