From 39eba6e8313c66805d2b7f7c87ea83f72d6b97a6 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Mon, 10 Nov 2025 20:25:30 +0000 Subject: [PATCH] completionId: cgen-438156157e2e46eab4ea57468e7cd734 cgen-438156157e2e46eab4ea57468e7cd734 --- client/pages/StaffLogin.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/pages/StaffLogin.tsx b/client/pages/StaffLogin.tsx index e2d261df..7833b4cc 100644 --- a/client/pages/StaffLogin.tsx +++ b/client/pages/StaffLogin.tsx @@ -95,8 +95,8 @@ export default function StaffLogin() { const handleGoogleSignIn = async () => { setIsLoading(true); try { - // Pass the staff dashboard as the intended destination after OAuth completes - await signInWithOAuth("google", "/staff/dashboard"); + // Pass the admin dashboard as the intended destination after OAuth completes + await signInWithOAuth("google", "/admin"); } catch (error: any) { console.error("Google sign-in error:", error); toastError({