diff --git a/background/redux-slices/migrations/to-16.ts b/background/redux-slices/migrations/to-16.ts index d409011a..8950f24c 100644 --- a/background/redux-slices/migrations/to-16.ts +++ b/background/redux-slices/migrations/to-16.ts @@ -71,11 +71,11 @@ export default (prevState: Record): NewState => { if (chainID === "ids" || chainID === "entities") { return } - Object.keys(typedPrevState.activities[address][chainID].entities).forEach( + Object.keys(typedPrevState.activities[address][chainID].entities??{}).forEach( // eslint-disable-next-line @typescript-eslint/no-unused-vars (_) => { Object.values( - typedPrevState.activities[address][chainID].entities + typedPrevState.activities[address][chainID].entities??{} ).forEach((activityItem) => { const { annotation } = activityItem if ( diff --git a/manifest/manifest.json b/manifest/manifest.json index cceb83c6..575bfe3a 100644 --- a/manifest/manifest.json +++ b/manifest/manifest.json @@ -11,7 +11,7 @@ "web_accessible_resources": [ { "resources": ["window-provider.js"], - "matches": ["https://*/*"] + "matches": [""] } ], "content_scripts": [