From f01f28a7eac76c6da5bf857bfc80fd347586ce7f Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Wed, 16 Aug 2023 09:39:47 +0700
Subject: register google

---
 src/core/components/elements/Navbar/NavbarDesktop.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/core/components/elements/Navbar/NavbarDesktop.jsx')

diff --git a/src/core/components/elements/Navbar/NavbarDesktop.jsx b/src/core/components/elements/Navbar/NavbarDesktop.jsx
index 06c15b73..17aedeb6 100644
--- a/src/core/components/elements/Navbar/NavbarDesktop.jsx
+++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx
@@ -179,7 +179,7 @@ const NavbarDesktop = () => {
             </div>
 
             <div className='w-3/12 flex gap-x-1 relative'>
-              {!authenticated && (
+              {!auth && (
                 <>
                   <Link
                     href='/login'
@@ -195,10 +195,10 @@ const NavbarDesktop = () => {
                   </Link>
                 </>
               )}
-              {authenticated && (
+              {auth && (
                 <>
                   <div href='/' className='navbar-user-dropdown-button'>
-                    <span>Halo, {authenticated?.name}</span>
+                    <span>Halo, {auth?.name}</span>
                     <div className='ml-auto'>
                       <ChevronDownIcon className='w-6' />
                     </div>
-- 
cgit v1.2.3

