diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-15 15:07:17 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-15 15:07:17 +0100 |
commit | ded02bf11f31c7b9d9cf8b2c863485a491b4c0ae (patch) | |
tree | f6106f1aba8fabecd42e06308b3d5c69243398db /src/pages/tree.tsx | |
parent | a92b7dc0df64ce647ba55315c386e1bf447e3528 (diff) | |
download | wallet-core-ded02bf11f31c7b9d9cf8b2c863485a491b4c0ae.tar.xz |
renaming / dce
Diffstat (limited to 'src/pages/tree.tsx')
-rw-r--r-- | src/pages/tree.tsx | 20 |
1 files changed, 10 insertions, 10 deletions
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> { |