From 66465816ca049118d58ca34bada241fd146f2656 Mon Sep 17 00:00:00 2001
From: Steve Klebanoff <steve.klebanoff@gmail.com>
Date: Fri, 19 Oct 2018 10:19:48 -0700
Subject: Getting rid of displayName, and rename usdSection ->
 _renderUsdSection

---
 packages/instant/src/components/order_details.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 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 a7971e1fd..704009d89 100644
--- a/packages/instant/src/components/order_details.tsx
+++ b/packages/instant/src/components/order_details.tsx
@@ -74,7 +74,6 @@ export class EthAmountRow extends React.Component<EthAmountRowProps> {
         shouldEmphasize: false,
         isEthAmountInBaseUnits: true,
     };
-    public static displayName = 'EthAmountRow';
     public render(): React.ReactNode {
         const { rowLabel, ethAmount, isEthAmountInBaseUnits, shouldEmphasize, isLoading } = this.props;
 
@@ -87,7 +86,7 @@ export class EthAmountRow extends React.Component<EthAmountRowProps> {
                         {rowLabel}
                     </Text>
                     <Container>
-                        {this._usdSection()}
+                        {this._renderUsdSection()}
                         <Text fontWeight={fontWeight} fontColor={ColorOption.grey}>
                             {ethFormatter(
                                 ethAmount,
@@ -102,7 +101,7 @@ export class EthAmountRow extends React.Component<EthAmountRowProps> {
             </Container>
         );
     }
-    private _usdSection(): React.ReactNode {
+    private _renderUsdSection(): React.ReactNode {
         const usdFormatter = this.props.isEthAmountInBaseUnits ? format.ethBaseAmountInUsd : format.ethUnitAmountInUsd;
         const shouldHideUsdPriceSection = _.isUndefined(this.props.ethUsdPrice) || _.isUndefined(this.props.ethAmount);
         return shouldHideUsdPriceSection ? null : (
-- 
cgit v1.2.3

