diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-06-26 01:25:58 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-06-29 01:38:07 +0800 |
commit | 0e932286d28dad5c8e79659cb679c75e83c3825d (patch) | |
tree | 6ecbc0b30d7a591e57cd5ed494977db02d7c6b66 /packages/website/ts/components/wallet | |
parent | 366a9502dd8ffc62f03b728ed46c592762fe170e (diff) | |
download | dexon-sol-tools-0e932286d28dad5c8e79659cb679c75e83c3825d.tar dexon-sol-tools-0e932286d28dad5c8e79659cb679c75e83c3825d.tar.gz dexon-sol-tools-0e932286d28dad5c8e79659cb679c75e83c3825d.tar.bz2 dexon-sol-tools-0e932286d28dad5c8e79659cb679c75e83c3825d.tar.lz dexon-sol-tools-0e932286d28dad5c8e79659cb679c75e83c3825d.tar.xz dexon-sol-tools-0e932286d28dad5c8e79659cb679c75e83c3825d.tar.zst dexon-sol-tools-0e932286d28dad5c8e79659cb679c75e83c3825d.zip |
Use moment and lodash
Diffstat (limited to 'packages/website/ts/components/wallet')
-rw-r--r-- | packages/website/ts/components/wallet/wallet.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx index 5c90aa3da..785b2da88 100644 --- a/packages/website/ts/components/wallet/wallet.tsx +++ b/packages/website/ts/components/wallet/wallet.tsx @@ -165,7 +165,7 @@ export class Wallet extends React.Component<WalletProps, WalletState> { if ( !_.isUndefined(firstDifferentTrackedToken) && _.size(differentTrackedTokens) === 1 && - currentTrackedTokens.includes(firstDifferentTrackedToken) + _.includes(currentTrackedTokens, firstDifferentTrackedToken) ) { document.getElementById(firstDifferentTrackedToken.address).scrollIntoView(); } |