2
0

📦 Upgrade packages

This commit is contained in:
Baptiste Arnaud
2022-11-02 19:45:46 +01:00
committed by GitHub
parent 48285479cc
commit 2c66c59dfc
64 changed files with 2518 additions and 3158 deletions

View File

@ -1,6 +1,6 @@
import React from 'react'
import { NextChakraLink } from '../nextChakra/NextChakraLink'
import { Text } from '@chakra-ui/react'
import { TextLink } from 'components/shared/TextLink'
type Props = {
type: 'register' | 'signin'
@ -10,16 +10,11 @@ export const AuthSwitcher = ({ type }: Props) => (
{type === 'signin' ? (
<Text>
Don't have an account?{' '}
<NextChakraLink href="/register" color="blue.500" textDecor="underline">
Sign up for free
</NextChakraLink>
<TextLink href="/register">Sign up for free</TextLink>
</Text>
) : (
<Text>
Already have an account?{' '}
<NextChakraLink href="/signin" color="blue.500" textDecor="underline">
Sign in
</NextChakraLink>
Already have an account? <TextLink href="/signin">Sign in</TextLink>
</Text>
)}
</>

View File

@ -19,9 +19,9 @@ import {
import { DividerWithText } from './DividerWithText'
import { SocialLoginButtons } from './SocialLoginButtons'
import { useRouter } from 'next/router'
import { NextChakraLink } from 'components/nextChakra/NextChakraLink'
import { BuiltInProviderType } from 'next-auth/providers'
import { useToast } from 'components/shared/hooks/useToast'
import { TextLink } from 'components/shared/TextLink'
type Props = {
defaultEmail?: string
@ -76,14 +76,12 @@ export const SignInForm = ({
return (
<Text>
You need to{' '}
<NextChakraLink
<TextLink
href="https://docs.typebot.io/self-hosting/configuration"
isExternal
color="blue.400"
textDecor="underline"
>
configure at least one auth provider
</NextChakraLink>{' '}
</TextLink>{' '}
(Email, Google, GitHub, Facebook or Azure AD).
</Text>
)