Skip to content

Commit 0230527

Browse files
committed
chore: cannot read properties of undefined (allIgnoredTokens)
1 parent f14a59b commit 0230527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/selectors/assets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export function getAssetsMetadata(state: AssetsState) {
111111
* @returns An object containing all ignored assets.
112112
*/
113113
export function getAllIgnoredAssets(state: AssetsState) {
114-
return state.metamask.allIgnoredAssets;
114+
return state.metamask.allIgnoredAssets ?? EMPTY_OBJECT;
115115
}
116116

117117
/**

0 commit comments

Comments
 (0)