diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/components/elements/Navbar/NavbarUserDropdown.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
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> ) |
