From 53786da12861ce7ed0c3c0a373b82a6452d73476 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 10 Oct 2024 21:18:28 +0530 Subject: [PATCH] feat: register & login ui --- src/pages/Login.tsx | 1 - src/pages/Register.tsx | 20 +++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/pages/Login.tsx b/src/pages/Login.tsx index 53f3d01e..f9eb8ab4 100644 --- a/src/pages/Login.tsx +++ b/src/pages/Login.tsx @@ -104,7 +104,6 @@ const Login = () => { )} - {/* Redirect to Register */} Don’t have an account?{' '} diff --git a/src/pages/Register.tsx b/src/pages/Register.tsx index e132cb53..ed4b5de1 100644 --- a/src/pages/Register.tsx +++ b/src/pages/Register.tsx @@ -50,18 +50,18 @@ const Register = () => { }; return ( - Create an account - + { disabled={loading || !email || !password} > {loading ? ( - + <> + + Loading + ) : ( 'Register' )} @@ -107,7 +110,6 @@ const Register = () => { - ); };