From 38c9fbb245aeb315e90f42c281a17257a5eeb122 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 5 Apr 2023 09:46:31 +0700
Subject: forgot and reset password

---
 src/lib/auth/components/Activate.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/auth/components/Activate.jsx')

diff --git a/src/lib/auth/components/Activate.jsx b/src/lib/auth/components/Activate.jsx
index 5e95de8a..717e178b 100644
--- a/src/lib/auth/components/Activate.jsx
+++ b/src/lib/auth/components/Activate.jsx
@@ -153,7 +153,7 @@ const Activate = () => {
         />
         <button
           type='submit'
-          disabled={email != ''}
+          disabled={!email}
           className='btn-yellow font-semibold mt-4 w-full'
         >
           {isLoading ? 'Loading...' : 'Aktivasi'}
-- 
cgit v1.2.3

