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 ( -
-
+
+
or -
+
); } @@ -19,15 +19,15 @@ export function Divider() { export function SocialButtons() { return (
- - - @@ -39,17 +39,20 @@ export function PasswordInput({ id, name, placeholder, + autoComplete = "current-password", }: { id: string; name: string; placeholder: string; + autoComplete?: string; }) { const [visible, setVisible] = useState(false); return (
-