From 21a66be8a6e185b752ce2ed980cd65a01288b21a Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Thu, 30 Jul 2026 08:15:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(BindContactModal):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84onCancel=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E4=BF=AE=E5=A4=8DLint=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../auth/BindContactModal/hooks/useBindContactForm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/auth/BindContactModal/hooks/useBindContactForm.ts b/apps/web/src/components/auth/BindContactModal/hooks/useBindContactForm.ts index f92df6183..5aad42154 100644 --- a/apps/web/src/components/auth/BindContactModal/hooks/useBindContactForm.ts +++ b/apps/web/src/components/auth/BindContactModal/hooks/useBindContactForm.ts @@ -15,7 +15,7 @@ interface UseBindContactFormOptions { * 绑定联系方式表单 Hook * 封装表单状态、验证码发送、提交绑定等业务逻辑 */ -export const useBindContactForm = ({ open, onSuccess, onCancel }: UseBindContactFormOptions) => { +export const useBindContactForm = ({ open, onSuccess }: UseBindContactFormOptions) => { const [activeTab, setActiveTab] = useState("email") const [form] = Form.useForm() const [loading, setLoading] = useState(false)