refactored Authentication

This commit is contained in:
2026-02-17 17:02:31 +00:00
parent 0b8ec1adb5
commit 1a7af25606
@@ -10,7 +10,6 @@ import { useForm } from 'hooks/useForm';
import { useAuth } from 'hooks/useAuth'; import { useAuth } from 'hooks/useAuth';
export function Login() { export function Login() {
const navigate = useNavigate();
const [isSubmitting, setIsSubmitting] = useState(false); const [isSubmitting, setIsSubmitting] = useState(false);
const { state, formRef, update, isValid } = useForm<LoginFormState>({}, validateForm); const { state, formRef, update, isValid } = useForm<LoginFormState>({}, validateForm);
const { signin } = useAuth(); const { signin } = useAuth();