From 3fdf9f1bf1b59434319d29f3ba84ff0591c0aaca Mon Sep 17 00:00:00 2001 From: Kishan-Kumar-Zalavadia Date: Tue, 21 Mar 2023 12:07:52 +0530 Subject: [PATCH] Variable not declared/ambiguous usage #1103 Solved --- 5-browser-extension/solution/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-browser-extension/solution/src/index.js b/5-browser-extension/solution/src/index.js index e1ea391a..05e54da0 100644 --- a/5-browser-extension/solution/src/index.js +++ b/5-browser-extension/solution/src/index.js @@ -87,7 +87,7 @@ const handleSubmit = async (e) => { const init = async () => { //if anything is in localStorage, pick it up const storedApiKey = localStorage.getItem('apiKey'); - const storedRegion = localStorage.getItem('regionName'); + const storedRegion = localStorage.getItem('region'); //set icon to be generic green chrome.runtime.sendMessage({