From 4e5257d73f18fd76c66cc61f1f09034d12bc02b8 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Wed, 21 Dec 2022 17:11:01 +0700 Subject: menu profil saya --- src/components/Header.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/Header.js') 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 }) {
{auth && ( - + Profil Saya
-- cgit v1.2.3