From 4cfe9157d64a76bf9913fe599d908497a18f5316 Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Wed, 9 Aug 2023 10:45:53 +0700
Subject: google sign in

---
 src/lib/auth/components/LoginDesktop.jsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

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

diff --git a/src/lib/auth/components/LoginDesktop.jsx b/src/lib/auth/components/LoginDesktop.jsx
index 74d259a8..f5aa0018 100644
--- a/src/lib/auth/components/LoginDesktop.jsx
+++ b/src/lib/auth/components/LoginDesktop.jsx
@@ -9,8 +9,8 @@ const LoginDesktop = () => {
   const { handleSubmit, handleChangeInput, isLoading, isValid, alert, emailRef, passwordRef } =
     useLogin()
 
-  const {data : session } = useSession
-  console.log('ini google', session)
+  const { data } = useSession()
+  console.log('ini google', data)
 
   return (
     <DesktopView>
@@ -66,10 +66,10 @@ const LoginDesktop = () => {
             </form>
             <button
                 type='submit'
-                className='btn-red w-full mt-2'
-                onClick={() => signIn()}
+                className='border border-gray-500 p-3 rounded-md hover:bg-gray-100  w-full mt-2'
+                onClick={() => signIn('google')}
               >
-                Masuk dengan google
+                Masuk dengan Google
               </button>
 
             <div className='text-gray_r-11 mt-10'>
-- 
cgit v1.2.3

