Skip to content

Commit

Permalink
fixed fencing
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiKJha committed Dec 5, 2023
1 parent ceefd58 commit fa30093
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
getHardwareWalletType,
getAccountTypeForKeyring,
getPinnedAccountsList,
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
///: BEGIN:ONLY_INCLUDE_IF(build-mmi)
getMetaMaskAccountsOrdered,
///: END:ONLY_INCLUDE_IF
} from '../../../selectors';
Expand Down Expand Up @@ -63,7 +63,7 @@ export const AccountListItemMenu = ({

const pinnedAccountList = useSelector(getPinnedAccountsList);

///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
///: BEGIN:ONLY_INCLUDE_IF(build-mmi)
const isCustodial = keyring?.type ? /Custody/u.test(keyring.type) : false;
const accounts = useSelector(getMetaMaskAccountsOrdered);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
getConnectedSubjectsForAllAddresses,
getOriginOfCurrentTab,
getUpdatedAndSortedAccounts,
///: BEGIN:ONLY_INCLUDE_IN(keyring-snaps)
///: BEGIN:ONLY_INCLUDE_IF(keyring-snaps)
getIsAddSnapAccountEnabled,
///: END:ONLY_INCLUDE_IF
} from '../../../selectors';
Expand Down
3 changes: 1 addition & 2 deletions ui/store/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3593,7 +3593,6 @@ export function updateNetworksList(
};
}

///: BEGIN:ONLY_INCLUDE_IF(snaps)
/**
* Updates the pinned accounts list
*
Expand All @@ -3607,7 +3606,7 @@ export function updateAccountsList(
};
}

///: BEGIN:ONLY_INCLUDE_IN(snaps)
///: BEGIN:ONLY_INCLUDE_IF(snaps)
/**
* Updates the caveat value for the specified origin, permission and caveat type.
*
Expand Down

0 comments on commit fa30093

Please sign in to comment.