fix: update Google sign-in redirect in Navbar component to direct users to the dashboard after authentication

This commit is contained in:
Ben Allfree
2025-11-24 04:52:42 -08:00
parent 49f9fe191f
commit 51d830ac31
+1 -1
View File
@@ -31,7 +31,7 @@ export default function Navbar() {
<div className="flex items-center gap-4">
<Unauthenticated>
<Button
onClick={() => signIn('google')}
onClick={() => signIn('google', { redirectTo: '/dashboard' })}
className="bg-white text-slate-900 hover:bg-slate-200"
>
Sign in