From 833488811b4164d7fbdce9bd70e171f06d62bf8d Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 20 Mar 2023 14:33:21 +0700
Subject: login and register

---
 src/core/components/elements/Navbar/NavbarUserDropdown.jsx | 4 ++++
 1 file changed, 4 insertions(+)

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

diff --git a/src/core/components/elements/Navbar/NavbarUserDropdown.jsx b/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
index fb95c593..b735c13f 100644
--- a/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
+++ b/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
@@ -1,3 +1,4 @@
+import { deleteAuth } from '@/core/utils/auth'
 import Link from '../Link/Link'
 
 const NavbarUserDropdown = () => {
@@ -8,6 +9,9 @@ const NavbarUserDropdown = () => {
         <Link href='/'>Invoice & Faktur Pajak</Link>
         <Link href='/'>Wishlist</Link>
         <Link href='/'>Pengaturan Akun</Link>
+        <Link href='/login' onClick={deleteAuth}>
+          Keluar Akun
+        </Link>
       </div>
     </div>
   )
-- 
cgit v1.2.3

