diff --git a/src/components/forms/LoginForm/index.tsx b/src/components/forms/LoginForm/index.tsx index 48e6b07..42914e5 100644 --- a/src/components/forms/LoginForm/index.tsx +++ b/src/components/forms/LoginForm/index.tsx @@ -5,7 +5,7 @@ import { useHandleLoginSubmit } from './helpers/useHandleLoginSubmit'; import { SubmitButton } from './styled'; import { FormContainer } from '../styled'; import { getVisibleText } from '../../../lib/text/getVisibleText'; -import { getGoogleSignInUrl } from '../../../lib/backend/getGoogleSignInUrl'; +import { WithGoogleLink } from '../WithGoogleLink'; interface LoginFormProps { onError: ErrorHandlerType; @@ -74,12 +74,7 @@ function LoginForm({ onError }: LoginFormProps) {
diff --git a/src/components/forms/RegisterForm.tsx b/src/components/forms/RegisterForm.tsx index 1a5e2e6..4d96752 100644 --- a/src/components/forms/RegisterForm.tsx +++ b/src/components/forms/RegisterForm.tsx @@ -3,6 +3,8 @@ import BetaMessage from '../BetaMessage'; import { ErrorHandlerType } from '../errors/helpers/getErrorMessage'; import { FormContainer } from './styled'; import { get2ankiApi } from '../../lib/backend/get2ankiApi'; +import { WithGoogleLink } from './WithGoogleLink'; +import { getVisibleText } from '../../lib/text/getVisibleText'; interface Props { setErrorMessage: ErrorHandlerType; @@ -51,8 +53,12 @@ function RegisterForm({ setErrorMessage }: Props) {
To get started please register below.
+Or create a new account.