diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-15 07:58:23 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-15 07:58:23 +0800 |
commit | 67422db4bd0b194296a1a584af7ead089e281715 (patch) | |
tree | 1c67ac82db718de6680253e564a96c2419505bd8 /packages/instant | |
parent | 68787056768e834d44ecc23a400036292410dcf6 (diff) | |
download | dexon-sol-tools-67422db4bd0b194296a1a584af7ead089e281715.tar dexon-sol-tools-67422db4bd0b194296a1a584af7ead089e281715.tar.gz dexon-sol-tools-67422db4bd0b194296a1a584af7ead089e281715.tar.bz2 dexon-sol-tools-67422db4bd0b194296a1a584af7ead089e281715.tar.lz dexon-sol-tools-67422db4bd0b194296a1a584af7ead089e281715.tar.xz dexon-sol-tools-67422db4bd0b194296a1a584af7ead089e281715.tar.zst dexon-sol-tools-67422db4bd0b194296a1a584af7ead089e281715.zip |
fix semicolon and apply prettier
Diffstat (limited to 'packages/instant')
-rw-r--r-- | packages/instant/src/components/order_details.tsx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/instant/src/components/order_details.tsx b/packages/instant/src/components/order_details.tsx index 33a115044..9c10ef9e6 100644 --- a/packages/instant/src/components/order_details.tsx +++ b/packages/instant/src/components/order_details.tsx @@ -133,8 +133,16 @@ export class OrderDetails extends React.Component<OrderDetailsProps> { } const pricePerTokenWei = this._pricePerTokenWei(); if (pricePerTokenWei) { - const atPriceDisplay = <Text fontColor={ColorOption.lightGrey}>@ {this._displayAmount(baseCurrency, pricePerTokenWei)}</Text>; - numTokensWithSymbol = <React.Fragment>{numTokensWithSymbol} {atPriceDisplay}</React.Fragment> + const atPriceDisplay = ( + <Text fontColor={ColorOption.lightGrey}> + @ {this._displayAmount(baseCurrency, pricePerTokenWei)} + </Text> + ); + numTokensWithSymbol = ( + <React.Fragment> + {numTokensWithSymbol} {atPriceDisplay} + </React.Fragment> + ); } return numTokensWithSymbol; } |