diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-13 09:30:28 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-13 09:30:28 +0800 |
commit | 01b36b494996c641a3cb5bd3fd894624a8dad210 (patch) | |
tree | eb7ab9dc21faf515807f1be29839f6cc3580961d /packages/instant/src/util/asset.ts | |
parent | 711b307e6c56457647a98c6d76725aa90ac0d53e (diff) | |
download | dexon-0x-contracts-01b36b494996c641a3cb5bd3fd894624a8dad210.tar dexon-0x-contracts-01b36b494996c641a3cb5bd3fd894624a8dad210.tar.gz dexon-0x-contracts-01b36b494996c641a3cb5bd3fd894624a8dad210.tar.bz2 dexon-0x-contracts-01b36b494996c641a3cb5bd3fd894624a8dad210.tar.lz dexon-0x-contracts-01b36b494996c641a3cb5bd3fd894624a8dad210.tar.xz dexon-0x-contracts-01b36b494996c641a3cb5bd3fd894624a8dad210.tar.zst dexon-0x-contracts-01b36b494996c641a3cb5bd3fd894624a8dad210.zip |
fix: remove requirement of default case in all switch statements
Diffstat (limited to 'packages/instant/src/util/asset.ts')
-rw-r--r-- | packages/instant/src/util/asset.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/instant/src/util/asset.ts b/packages/instant/src/util/asset.ts index fbfbb19f3..40560d3eb 100644 --- a/packages/instant/src/util/asset.ts +++ b/packages/instant/src/util/asset.ts @@ -80,8 +80,6 @@ export const assetUtils = { return metaData.symbol.toUpperCase(); case AssetProxyId.ERC721: return metaData.name; - default: - return defaultName; } }, formattedSymbolForAsset: (asset?: ERC20Asset, defaultName: string = '???'): string => { |