We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a7f976 commit a1e49a2Copy full SHA for a1e49a2
components/google-login-button.tsx
@@ -1,11 +1,10 @@
1
'use client'
2
3
import { Button } from '@/components/ui/button'
4
-import { serverFetch } from '@/utils/fetch/fetch'
5
6
export function GoogleLoginButton() {
7
const handleGoogleLogin = () => {
8
- window.location.href = `${process.env.NEXT_PUBLIC_SERVER_URL}/auth/GOOGLE?redirect=${process.env.NEXT_PUBLIC_REDIRECT_URL}`
+ window.location.href = `${process.env.NEXT_PUBLIC_SERVER_URL}/auth/GOOGLE?redirect=${process.env.NEXT_PUBLIC_REDIRECT_URL}/auth`
9
}
10
11
return (
0 commit comments