🐛 fixed a bug that prevented credentials from being saved

This commit is contained in:
kawamataryo 2023-10-13 20:37:21 +09:00
parent 5494599161
commit 7713ccdefc

View File

@ -59,6 +59,7 @@ function IndexPopup() {
if(e) { if(e) {
e.preventDefault() e.preventDefault()
} }
saveCredentialsToStorage()
const [{ url: currentUrl }] = await chrome.tabs.query({ const [{ url: currentUrl }] = await chrome.tabs.query({
active: true, active: true,
@ -121,7 +122,6 @@ function IndexPopup() {
} }
} finally { } finally {
setIsLoading(false) setIsLoading(false)
saveCredentialsToStorage()
} }
} }