From 5f7ed71937c8319bb5613dc57f005848b1fa336c Mon Sep 17 00:00:00 2001
From: Steve Klebanoff <steve.klebanoff@gmail.com>
Date: Tue, 11 Dec 2018 17:06:27 -0800
Subject: Delete old interface and rename BaseCurrencyChoice

---
 packages/instant/src/components/order_details.tsx | 17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)

(limited to 'packages/instant/src/components/order_details.tsx')

diff --git a/packages/instant/src/components/order_details.tsx b/packages/instant/src/components/order_details.tsx
index 9eaf2fb2e..8bff0af14 100644
--- a/packages/instant/src/components/order_details.tsx
+++ b/packages/instant/src/components/order_details.tsx
@@ -14,12 +14,12 @@ import { Container } from './ui/container';
 import { Flex } from './ui/flex';
 import { Text, TextProps } from './ui/text';
 
-interface BaseCurrenySwitchProps {
+interface BaseCurryChoiceProps {
     currencyName: string;
     onClick: () => void;
     isSelected: boolean;
 }
-const BaseCurrencySelector: React.StatelessComponent<BaseCurrenySwitchProps> = props => {
+const BaseCurrencyChoice: React.StatelessComponent<BaseCurryChoiceProps> = props => {
     const textStyle: TextProps = { onClick: props.onClick, fontSize: '12px' };
     if (props.isSelected) {
         textStyle.fontColor = ColorOption.primaryColor;
@@ -106,7 +106,7 @@ export class OrderDetails extends React.Component<OrderDetailsProps> {
                         </Text>
 
                         <Container>
-                            <BaseCurrencySelector
+                            <BaseCurrencyChoice
                                 onClick={this.props.onBaseCurrencySwitchEth}
                                 currencyName="ETH"
                                 isSelected={this.props.baseCurrency === BaseCurrency.ETH}
@@ -114,7 +114,7 @@ export class OrderDetails extends React.Component<OrderDetailsProps> {
                             <Container marginLeft="3px" marginRight="3px" display="inline">
                                 <Text fontSize="12px">/</Text>
                             </Container>
-                            <BaseCurrencySelector
+                            <BaseCurrencyChoice
                                 onClick={this.props.onBaseCurrencySwitchUsd}
                                 currencyName="USD"
                                 isSelected={this.props.baseCurrency === BaseCurrency.USD}
@@ -143,15 +143,6 @@ export class OrderDetails extends React.Component<OrderDetailsProps> {
     }
 }
 
-export interface EthAmountRowProps {
-    rowLabel: string;
-    ethAmount?: BigNumber;
-    isEthAmountInBaseUnits?: boolean;
-    ethUsdPrice?: BigNumber;
-    shouldEmphasize?: boolean;
-    isLoading: boolean;
-}
-
 export interface OrderDetailsRowProps {
     labelText: string;
     isLabelBold?: boolean;
-- 
cgit v1.2.3

