From ded02bf11f31c7b9d9cf8b2c863485a491b4c0ae Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Tue, 15 Nov 2016 15:07:17 +0100
Subject: renaming / dce

---
 src/pages/tree.tsx | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

(limited to 'src/pages/tree.tsx')

diff --git a/src/pages/tree.tsx b/src/pages/tree.tsx
index e368ffe9b..daabdaf49 100644
--- a/src/pages/tree.tsx
+++ b/src/pages/tree.tsx
@@ -21,8 +21,8 @@
  */
 
 
-import { IExchangeInfo } from "src/types";
-import { ReserveRecord, Coin, PreCoin, Denomination } from "src/types";
+import { ExchangeRecord } from "src/types";
+import { ReserveRecord, CoinRecord, PreCoinRecord, Denomination } from "src/types";
 import { ImplicitStateComponent, StateHolder } from "src/components";
 import {
   getReserves, getExchanges, getCoins, getPreCoins,
@@ -87,11 +87,11 @@ class Toggle extends ImplicitStateComponent<ToggleProps> {
 
 
 interface CoinViewProps {
-  coin: Coin;
+  coin: CoinRecord;
 }
 
 interface RefreshDialogProps {
-  coin: Coin;
+  coin: CoinRecord;
 }
 
 class RefreshDialog extends ImplicitStateComponent<RefreshDialogProps> {
@@ -134,7 +134,7 @@ class CoinView extends React.Component<CoinViewProps, void> {
 
 
 interface PreCoinViewProps {
-  precoin: PreCoin;
+  precoin: PreCoinRecord;
 }
 
 class PreCoinView extends React.Component<PreCoinViewProps, void> {
@@ -155,7 +155,7 @@ interface CoinListProps {
 }
 
 class CoinList extends ImplicitStateComponent<CoinListProps> {
-  coins = this.makeState<Coin[] | null>(null);
+  coins = this.makeState<CoinRecord[] | null>(null);
   expanded = this.makeState<boolean>(false);
 
   constructor(props: CoinListProps) {
@@ -194,7 +194,7 @@ interface PreCoinListProps {
 }
 
 class PreCoinList extends ImplicitStateComponent<PreCoinListProps> {
-  precoins = this.makeState<PreCoin[] | null>(null);
+  precoins = this.makeState<PreCoinRecord[] | null>(null);
   expanded = this.makeState<boolean>(false);
 
   constructor(props: PreCoinListProps) {
@@ -224,7 +224,7 @@ class PreCoinList extends ImplicitStateComponent<PreCoinListProps> {
 }
 
 interface DenominationListProps {
-  exchange: IExchangeInfo;
+  exchange: ExchangeRecord;
 }
 
 interface ExpanderTextProps {
@@ -336,7 +336,7 @@ class ReserveList extends ImplicitStateComponent<ReserveListProps> {
 }
 
 interface ExchangeProps {
-  exchange: IExchangeInfo;
+  exchange: ExchangeRecord;
 }
 
 class ExchangeView extends React.Component<ExchangeProps, void> {
@@ -358,7 +358,7 @@ class ExchangeView extends React.Component<ExchangeProps, void> {
 }
 
 interface ExchangesListState {
-  exchanges?: IExchangeInfo[];
+  exchanges?: ExchangeRecord[];
 }
 
 class ExchangesList extends React.Component<any, ExchangesListState> {
-- 
cgit v1.2.3

