Skip to content

Commit

Permalink
revert indents
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoloureirop committed Jan 15, 2025
1 parent edc0a1e commit d44068e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/core/Engine/Engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ export class Engine {

return Boolean(
hasProperty(showIncomingTransactions, currentChainId) &&
showIncomingTransactions?.[currentHexChainId],
showIncomingTransactions?.[currentHexChainId],
);
},
updateTransactions: true,
Expand Down Expand Up @@ -1523,7 +1523,7 @@ export class Engine {
(state: NetworkState) => {
if (
state.networksMetadata[state.selectedNetworkClientId].status ===
NetworkStatus.Available &&
NetworkStatus.Available &&
getGlobalChainId(networkController) !== currentChainId
) {
// We should add a state or event emitter saying the provider changed
Expand Down Expand Up @@ -1744,7 +1744,7 @@ export class Engine {
const decimalsToShow = (currentCurrency === 'usd' && 2) || undefined;
if (
accountsByChainId?.[toHexadecimal(chainId)]?.[
selectSelectedInternalAccountFormattedAddress
selectSelectedInternalAccountFormattedAddress
]
) {
// TODO - Non EVM accounts like BTC do not use hex formatted balances. We will need to modify this to use CAIP-2 identifiers in the future.
Expand Down Expand Up @@ -1783,7 +1783,7 @@ export class Engine {

const tokenBalances =
allTokenBalances?.[selectedInternalAccount.address as Hex]?.[
chainId
chainId
] ?? {};
tokens.forEach(
(item: { address: string; balance?: string; decimals: number }) => {
Expand All @@ -1794,9 +1794,9 @@ export class Engine {
item.balance ||
(item.address in tokenBalances
? renderFromTokenMinimalUnit(
tokenBalances[item.address as Hex],
item.decimals,
)
tokenBalances[item.address as Hex],
item.decimals,
)
: undefined);
const tokenBalanceFiat = balanceToFiatNumber(
// TODO: Fix this by handling or eliminating the undefined case
Expand Down

0 comments on commit d44068e

Please sign in to comment.