summaryrefslogtreecommitdiff
path: root/src/core/components/elements/Sidebar/Sidebar.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-22 08:35:08 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-22 08:35:08 +0700
commit50f5a2d8897020acc11f2a20469ffdd42ca7c31b (patch)
treed47f95de1d9710ca8b4d173abd5edc2797704a87 /src/core/components/elements/Sidebar/Sidebar.jsx
parent82954ee3cfa38f21f677b9aa2c1c6c3c88004050 (diff)
parent036e72780ddb7a510795b329919ff9dd957af6d7 (diff)
Merge branch 'refactor' of bitbucket.org:altafixco/next-indoteknik into refactor
Diffstat (limited to 'src/core/components/elements/Sidebar/Sidebar.jsx')
-rw-r--r--src/core/components/elements/Sidebar/Sidebar.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/components/elements/Sidebar/Sidebar.jsx b/src/core/components/elements/Sidebar/Sidebar.jsx
index 88de1c1c..48ceacf6 100644
--- a/src/core/components/elements/Sidebar/Sidebar.jsx
+++ b/src/core/components/elements/Sidebar/Sidebar.jsx
@@ -1,8 +1,8 @@
import Link from "../Link/Link"
import greeting from "@/core/utils/greeting"
-import { Cog6ToothIcon } from "@heroicons/react/24/solid"
import useAuth from "@/core/hooks/useAuth"
import { AnimatePresence, motion } from "framer-motion"
+import { CogIcon } from "@heroicons/react/24/outline"
const Sidebar = ({
active,
@@ -44,8 +44,8 @@ const Sidebar = ({
<div className="p-4 flex gap-x-3">
{ !auth && (
<>
- <Link href="/register" className="btn-yellow !text-gray_r-12 py-2 flex-1">Daftar</Link>
- <Link href="/login" className="btn-solid-red !text-gray_r-1 py-2 flex-1">Masuk</Link>
+ <Link onClick={close} href="/register" className="btn-yellow !text-gray_r-12 py-2 flex-1">Daftar</Link>
+ <Link onClick={close} href="/login" className="btn-solid-red !text-gray_r-1 py-2 flex-1">Masuk</Link>
</>
) }
{ auth && (
@@ -61,7 +61,7 @@ const Sidebar = ({
href="/my/menu"
className="!text-gray_r-11 ml-auto my-auto"
>
- <Cog6ToothIcon className="w-6" />
+ <CogIcon className="w-6" />
</Link>
</>
) }