diff --git a/src/app/screens/Home/index.tsx b/src/app/screens/Home/index.tsx index 181175f19a..4aa5399b55 100644 --- a/src/app/screens/Home/index.tsx +++ b/src/app/screens/Home/index.tsx @@ -62,12 +62,14 @@ const Home: FC = () => { if (currentUrl) { const url = new URL(currentUrl); setCurrentUrl(url); - } - if (currentUrl && currentUrl.startsWith("http")) { - browser.tabs.sendMessage(tabs[0].id as number, { - action: "extractLightningData", - }); + if (currentUrl.startsWith("http")) { + browser.tabs.sendMessage(tabs[0].id as number, { + action: "extractLightningData", + }); + } + } else { + setLoadingAllowance(false); } };