diff --git a/src/webapp/app/login/page.tsx b/src/webapp/app/login/page.tsx
index 1ca9893a..b2b46765 100644
--- a/src/webapp/app/login/page.tsx
+++ b/src/webapp/app/login/page.tsx
@@ -69,7 +69,7 @@ function LoginForm() {
} catch (err: any) {
// Clear the flag even on failure
ExtensionService.clearExtensionTokensRequested();
-
+
// Redirect to extension error page
router.push('/extension/auth/error');
} finally {
diff --git a/src/webapp/components/extension/SignInPage.tsx b/src/webapp/components/extension/SignInPage.tsx
index 7cb0a7aa..0ed31d5e 100644
--- a/src/webapp/components/extension/SignInPage.tsx
+++ b/src/webapp/components/extension/SignInPage.tsx
@@ -10,8 +10,7 @@ export function SignInPage() {
const [loginError, setLoginError] = useState('');
const handleSignIn = () => {
- const appUrl =
- process.env.PLASMO_PUBLIC_APP_URL || 'http://localhost:3000';
+ const appUrl = process.env.PLASMO_PUBLIC_APP_URL || 'http://localhost:3000';
const loginUrl = `${appUrl}/login?extension-login=true`;
chrome.tabs.create({ url: loginUrl });
window.close();
@@ -28,7 +27,9 @@ export function SignInPage() {
await loginWithAppPassword(handle.trim(), appPassword.trim());
// Success - the auth context will handle the state update
} catch (error: any) {
- setLoginError(error.message || 'Login failed. Please check your credentials.');
+ setLoginError(
+ error.message || 'Login failed. Please check your credentials.',
+ );
}
};
@@ -38,7 +39,7 @@ export function SignInPage() {
Sign in with App Password
-
+
setHandle(e.target.value)}
disabled={isLoading}
/>
-
+
-
-
-