aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-15 07:58:23 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-15 07:58:23 +0800
commit67422db4bd0b194296a1a584af7ead089e281715 (patch)
tree1c67ac82db718de6680253e564a96c2419505bd8 /packages
parent68787056768e834d44ecc23a400036292410dcf6 (diff)
downloaddexon-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')
-rw-r--r--packages/instant/src/components/order_details.tsx12
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;
}