diff --git a/web/src/app/auth/_LoginComponents/LoginForm.tsx b/web/src/app/auth/_LoginComponents/LoginForm.tsx index 52575bc92..d9ccc4b96 100644 --- a/web/src/app/auth/_LoginComponents/LoginForm.tsx +++ b/web/src/app/auth/_LoginComponents/LoginForm.tsx @@ -1,7 +1,9 @@ 'use client'; import React, { useMemo, useState } from 'react'; -import { Button, Divider, Input, Result } from 'antd'; +import { Result } from 'antd'; +import { Input } from '@/components/ui/inputs'; +import { Button } from '@/components/ui/buttons'; import { User } from '@supabase/auth-js'; import { inputHasText, isValidEmail } from '@/lib'; import { useKeyPress, useMemoizedFn } from 'ahooks'; @@ -11,7 +13,7 @@ import { BsGithub, BsGoogle, BsMicrosoft } from 'react-icons/bs'; import { createStyles } from 'antd-style'; import { Title, Text } from '@/components/ui/typography'; import Cookies from 'js-cookie'; -import { useBusterSupabaseAuthMethods } from '@/hooks/useBusterSupabaseAuthMethods'; +import { useBusterSupabaseAuthMethods } from '@/hooks/useSupabaseAuthMethods/useBusterSupabaseAuthMethods'; import { PolicyCheck } from './PolicyCheck'; import { rustErrorHandler } from '@/api/buster_rest/errors'; @@ -188,8 +190,6 @@ const LoginOptions: React.FC<{ setErrorMessages, signUpFlow }) => { - const { styles, cx } = useStyles(); - const [email, setEmail] = useState(''); const [password, setPassword] = useState(''); const [password2, setPassword2] = useState(''); @@ -232,8 +232,7 @@ const LoginOptions: React.FC<{ }); }}> - or +
@@ -361,7 +358,7 @@ const SignUpSuccess: React.FC<{ extra={[