chore: 移除前端密码登陆页面无用依赖

This commit is contained in:
2025-12-17 13:27:14 +08:00
parent 70bcb8015c
commit 471fa141ce

View File

@@ -2,10 +2,9 @@ import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input"; import { Input } from "@/components/ui/input";
import LoginHeader from "./LoginHeader"; import LoginHeader from "./LoginHeader";
import { Label } from "@/components/ui/label" import { Label } from "@/components/ui/label"
import { FormEvent, useCallback } from "react"; import { useCallback } from "react";
import { toast } from "sonner"; import { toast } from "sonner";
import { AuthAPI } from "@/lib/api/client"; import { AuthAPI } from "@/lib/api/client";
import { handleAPIError } from "@/lib/api/common";
export default function PasswordLoginMode() { export default function PasswordLoginMode() {
const handleForgetPassword = useCallback(() => { const handleForgetPassword = useCallback(() => {