mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-07-04 00:42:09 +02:00
fix: update Google sign-in redirect in Navbar component to direct users to the dashboard after authentication
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user