aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-01-15 03:30:18 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-01-15 23:25:25 +0800
commit61c88455f49c86041263e48e99ca80ab4f2a9a6e (patch)
treea55f26cb8c687fae0b5446a1f9779806d9a4a410 /packages/instant
parenta084bbbed833caf8318ae68c9c71edcb543676f1 (diff)
downloaddexon-sol-tools-61c88455f49c86041263e48e99ca80ab4f2a9a6e.tar.gz
dexon-sol-tools-61c88455f49c86041263e48e99ca80ab4f2a9a6e.tar.zst
dexon-sol-tools-61c88455f49c86041263e48e99ca80ab4f2a9a6e.zip
Apply prettier
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/src/util/asset.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/instant/src/util/asset.ts b/packages/instant/src/util/asset.ts
index 9e509edf9..b5c97913d 100644
--- a/packages/instant/src/util/asset.ts
+++ b/packages/instant/src/util/asset.ts
@@ -104,9 +104,8 @@ export const assetUtils = {
return assetDataGroupIfExists[Network.Mainnet];
},
getERC20AssetsFromAssets: (assets: Asset[]): ERC20Asset[] => {
- const erc20sOrUndefined = _.map(
- assets,
- asset => (asset.metaData.assetProxyId === AssetProxyId.ERC20 ? (asset as ERC20Asset) : undefined),
+ const erc20sOrUndefined = _.map(assets, asset =>
+ asset.metaData.assetProxyId === AssetProxyId.ERC20 ? (asset as ERC20Asset) : undefined,
);
return _.compact(erc20sOrUndefined);
},