diff --git a/src/App.tsx b/src/App.tsx
index bf83895..ab48b87 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1164,13 +1164,11 @@ function App() {
});
}
- console.log("Webview is focused");
};
// Handler for when the window loses focus
const handleBlur = () => {
setIsFocused(false);
- console.log("Webview is not focused");
};
// Attach the event listeners
@@ -1187,10 +1185,8 @@ function App() {
payload: {},
});
}
- console.log("Webview is visible");
} else {
setIsFocused(false);
- console.log("Webview is hidden");
}
};
diff --git a/src/ExtStates/NotAuthenticated.tsx b/src/ExtStates/NotAuthenticated.tsx
index 7d397ba..9eeeb4e 100644
--- a/src/ExtStates/NotAuthenticated.tsx
+++ b/src/ExtStates/NotAuthenticated.tsx
@@ -22,6 +22,8 @@ import { CustomizedSnackbars } from "../components/Snackbar/Snackbar";
import { set } from "lodash";
import { cleanUrl, isUsingLocal } from "../background";
+const manifestData = chrome?.runtime?.getManifest();
+
export const NotAuthenticated = ({
getRootProps,
getInputProps,
@@ -128,7 +130,7 @@ export const NotAuthenticated = ({
if (currentNodeRef.current?.url === "http://127.0.0.1:12391") {
payload = {
apikey: importedApiKeyRef.current || key?.apikey,
- url: currentNode?.url,
+ url: currentNodeRef.current?.url,
};
} else if(currentNodeRef.current) {
payload = currentNodeRef.current;
@@ -222,7 +224,7 @@ export const NotAuthenticated = ({
return (
<>
-