📦 Upgrade packages
This commit is contained in:
@ -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>
|
||||
)}
|
||||
</>
|
||||
|
@ -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>
|
||||
)
|
||||
|
Reference in New Issue
Block a user