import { Stack, Button } from '@chakra-ui/react' import { GithubIcon } from 'assets/icons' import { signIn, useSession } from 'next-auth/react' import { useRouter } from 'next/router' import React from 'react' import { stringify } from 'qs' import { FacebookLogo, GoogleLogo } from 'assets/logos' export const SocialLoginButtons = () => { const { query } = useRouter() const { status } = useSession() const handleGitHubClick = async () => signIn('github', { callbackUrl: `/typebots?${stringify(query)}`, }) const handleGoogleClick = async () => signIn('google', { callbackUrl: `/typebots?${stringify(query)}`, }) const handleFacebookClick = async () => signIn('facebook', { callbackUrl: `/typebots?${stringify(query)}`, }) return ( ) }