Skip to content

Commit d259281

Browse files
chore: clean up code
1 parent 0aab590 commit d259281

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/components/Views/Asset/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,10 +540,9 @@ class Asset extends PureComponent {
540540
const displaySwapsButton =
541541
isSwapsNetworkAllowed && isSwapsAssetAllowed && AppConstants.SWAPS.ACTIVE;
542542

543-
const isBridgeNetworkAllowed = isPortfolioViewEnabled()
543+
const displayBridgeButton = isPortfolioViewEnabled()
544544
? isBridgeAllowed(asset.chainId)
545545
: isBridgeAllowed(chainId);
546-
const displayBridgeButton = isBridgeNetworkAllowed;
547546

548547
const displayBuyButton = asset.isETH
549548
? this.props.isNetworkBuyNativeTokenSupported

0 commit comments

Comments
 (0)