Skip to content

Commit

Permalink
Remove unused getConnectedSnapsList function
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Sep 21, 2024
1 parent 3ce1ce7 commit 875b3c2
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions ui/selectors/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1463,21 +1463,6 @@ export const getConnectedSitesList = createDeepEqualSelector(
},
);

export const getConnectedSnapsList = createDeepEqualSelector(
getSnapsList,
(snapsData) => {
const snapsList = {};

Object.values(snapsData).forEach((snap) => {
if (!snapsList[snap.name]) {
snapsList[snap.name] = snap;
}
});

return snapsList;
},
);

export const getMemoizedCurrentChainId = createDeepEqualSelector(
getCurrentChainId,
(chainId) => chainId,
Expand Down

0 comments on commit 875b3c2

Please sign in to comment.