diff --git a/client/pages/Login.tsx b/client/pages/Login.tsx index 0705c785..4fa2d29a 100644 --- a/client/pages/Login.tsx +++ b/client/pages/Login.tsx @@ -28,6 +28,7 @@ import { Lock, User, Info, + Wallet, } from "lucide-react"; import { Dialog, @@ -223,6 +224,16 @@ export default function Login() { } }; + const handleWeb3Login = async () => { + setIsLoading(true); + try { + navigate("/web3-callback"); + } catch (error: any) { + console.error("Web3 navigation error:", error); + setIsLoading(false); + } + }; + // Show loading screen only during form submission, not during auth context loading if (isLoading && !loading) { return ( @@ -350,6 +361,14 @@ export default function Login() { Continue with Google +