This commit is contained in:
Jared Palmer 2023-06-21 14:42:18 -07:00
parent e9e40d7a08
commit 0117cdfa54
2 changed files with 12 additions and 12 deletions

View file

@ -24,6 +24,7 @@ export function LoginButton({
variant="outline"
onClick={() => {
setIsLoading(true)
// next-auth signIn() function doesn't work yet at Edge Runtime due to usage of BroadcastChannel
signIn('github', { callbackUrl: `/` })
}}
disabled={isLoading}