Skip to content

Commit

Permalink
fix tsc lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bergeron committed Dec 10, 2024
1 parent 24d5d8d commit e3dfe64
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ui/selectors/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,13 @@ export function getIsTokenNetworkFilterEqualCurrentNetwork(state) {
return false;
}

/**
* Returns an object indicating which networks
* tokens should be shown on in the portfolio view.
*
* @param {*} state
* @returns {Record<Hex, boolean>}
*/
export function getTokenNetworkFilter(state) {
const currentChainId = getCurrentChainId(state);
const { tokenNetworkFilter } = getPreferences(state);
Expand Down

0 comments on commit e3dfe64

Please sign in to comment.