summaryrefslogtreecommitdiff
path: root/src/core/components/elements
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-08-16 09:39:47 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-08-16 09:39:47 +0700
commitf01f28a7eac76c6da5bf857bfc80fd347586ce7f (patch)
tree0e7b587eeb0162852565dfa97d3c35d1354d8c21 /src/core/components/elements
parent9a33f3a391a402807cc5e7913b1a97e430a7aaa2 (diff)
register google
Diffstat (limited to 'src/core/components/elements')
-rw-r--r--src/core/components/elements/Navbar/NavbarDesktop.jsx6
1 files changed, 3 insertions, 3 deletions
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>