summaryrefslogtreecommitdiff
path: root/src/core/components/elements/Sidebar/Sidebar.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-22 23:36:47 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-22 23:36:47 +0700
commitac3fdf7be9982e65d8f83a20bc487f8dd62e3bfc (patch)
tree687d984708708833999c9b83f1e74e32cf64b1c1 /src/core/components/elements/Sidebar/Sidebar.jsx
parent8cfb615556e67408d7afb6d9694b2407447085ff (diff)
fix
Diffstat (limited to 'src/core/components/elements/Sidebar/Sidebar.jsx')
-rw-r--r--src/core/components/elements/Sidebar/Sidebar.jsx20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/core/components/elements/Sidebar/Sidebar.jsx b/src/core/components/elements/Sidebar/Sidebar.jsx
index 08f1fed5..cdeb3e05 100644
--- a/src/core/components/elements/Sidebar/Sidebar.jsx
+++ b/src/core/components/elements/Sidebar/Sidebar.jsx
@@ -8,7 +8,10 @@ const Sidebar = ({ active, close }) => {
const auth = useAuth()
const SidebarLink = ({ children, ...props }) => (
- <Link {...props} onClick={close}>
+ <Link
+ {...props}
+ onClick={close}
+ >
{children}
</Link>
)
@@ -74,13 +77,22 @@ const Sidebar = ({ active, close }) => {
</>
)}
</div>
- <SidebarLink className={itemClassName} href='/'>
+ <SidebarLink
+ className={itemClassName}
+ href='/'
+ >
Semua Brand
</SidebarLink>
- <SidebarLink className={itemClassName} href='/'>
+ <SidebarLink
+ className={itemClassName}
+ href='/'
+ >
Tentang Indoteknik
</SidebarLink>
- <SidebarLink className={itemClassName} href='/'>
+ <SidebarLink
+ className={itemClassName}
+ href='/'
+ >
Pusat Bantuan
</SidebarLink>
<button className={`${itemClassName} w-full text-left`}>Kategori</button>