From 7713ccdefc9ff4fc7c9cee76036c2f9f1e026b4f Mon Sep 17 00:00:00 2001 From: kawamataryo Date: Fri, 13 Oct 2023 20:37:21 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fixed=20a=20bug=20that=20prevent?= =?UTF-8?q?ed=20credentials=20from=20being=20saved?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/popup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup.tsx b/src/popup.tsx index 76966e4..5093f51 100644 --- a/src/popup.tsx +++ b/src/popup.tsx @@ -59,6 +59,7 @@ function IndexPopup() { if(e) { e.preventDefault() } + saveCredentialsToStorage() const [{ url: currentUrl }] = await chrome.tabs.query({ active: true, @@ -121,7 +122,6 @@ function IndexPopup() { } } finally { setIsLoading(false) - saveCredentialsToStorage() } }