diff --git a/ui/app/selectors/permissions.js b/ui/app/selectors/permissions.js index 98fa8368c..e6b8f1d15 100644 --- a/ui/app/selectors/permissions.js +++ b/ui/app/selectors/permissions.js @@ -192,5 +192,5 @@ function getAccountsCaveatFromPermission (accountsPermission = {}) { } function domainSelector (state, origin) { - return origin && state.metamask?.domains[origin] + return origin && state.metamask.domains?.[origin] }