summaryrefslogtreecommitdiff
path: root/src/core/components/elements/Sidebar
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-23 08:20:44 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-23 08:20:44 +0700
commita553af3576985e6d14cf59177a6cca9fa108c0bb (patch)
tree763f73dafe6cc69c913eacafdc26e972849092b1 /src/core/components/elements/Sidebar
parente5aea4632cb84c9d5e04024b67d149178f794ba6 (diff)
parent404afb8b94b5d8d88f6dfd619cde0b5a122fbc42 (diff)
prettier
Diffstat (limited to 'src/core/components/elements/Sidebar')
-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>