Skip to content

Commit c825565

Browse files
Update AuthButton.tsx
1 parent 7d0201b commit c825565

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/AuthButton.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ export function GoogleSignIn() {
5050
action={async () => {
5151
'use server';
5252
await signIn('google', {
53+
redirectTo: '/profile',
54+
redirect: true,
5355
callbackUrl: '/',
5456
});
5557
}}

0 commit comments

Comments
 (0)