summaryrefslogtreecommitdiff
path: root/src/components/Header.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Header.js')
-rw-r--r--src/components/Header.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Header.js b/src/components/Header.js
index ca59701e..a294c140 100644
--- a/src/components/Header.js
+++ b/src/components/Header.js
@@ -27,7 +27,7 @@ export default function Header({ title }) {
const [auth, setAuth] = useState();
useEffect(() => {
- if (!auth) setAuth(getAuth())
+ if (!auth) setAuth(getAuth());
}, [auth]);
useEffect(() => {
@@ -87,7 +87,7 @@ export default function Header({ title }) {
</div>
<div className="flex flex-col">
{auth && (
- <Link className="flex w-full font-normal text-gray_r-11 border-b border-gray_r-6 p-4 py-3" href="/shop/brands" onClick={closeMenu}>
+ <Link className="flex w-full font-normal text-gray_r-11 border-b border-gray_r-6 p-4 py-3" href="/my/profile" onClick={closeMenu}>
<span>Profil Saya</span>
<div className="ml-auto">
<ChevronRightIcon className="text-gray_r-12 w-5" />