From 82475e95d5479595b3aa0881819a21a7c8de527e Mon Sep 17 00:00:00 2001
From: zhenyi <434836402@qq.com>
Date: Sun, 31 May 2026 13:11:37 +0800
Subject: [PATCH] fix(auth): update auth page components
---
src/page/auth/components.tsx | 55 ++++++++++++++++++-------------
src/page/auth/forgot-password.tsx | 10 +++---
src/page/auth/layout.tsx | 18 +++++-----
src/page/auth/login.tsx | 24 +++++++-------
src/page/auth/register.tsx | 20 +++++------
src/page/auth/reset-password.tsx | 14 ++++----
6 files changed, 75 insertions(+), 66 deletions(-)
diff --git a/src/page/auth/components.tsx b/src/page/auth/components.tsx
index ea2caf4..29a11b5 100644
--- a/src/page/auth/components.tsx
+++ b/src/page/auth/components.tsx
@@ -1,4 +1,4 @@
-import { useEffect, useState, type ReactNode } from "react";
+import { useCallback, useEffect, useState, type ReactNode } from "react";
import { Apple, Eye, EyeOff, Globe, RotateCw, Send } from "lucide-react";
import { client, type CaptchaResponse } from "@/client";
@@ -8,10 +8,10 @@ import { Label } from "@/components/ui/label";
export function Divider() {
return (
-
-
+
);
}
@@ -19,15 +19,15 @@ export function Divider() {
export function SocialButtons() {
return (
-