From 07b30e319f5a6f51ff5b044840345e05a9deb931 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 22 Dec 2022 16:20:51 +0700 Subject: no message --- src/components/AppBar.js | 6 +++--- src/pages/my/menu.js | 11 ++++++----- src/pages/my/profile.js | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/components/AppBar.js b/src/components/AppBar.js index f22d630f..68a93f64 100644 --- a/src/components/AppBar.js +++ b/src/components/AppBar.js @@ -12,16 +12,16 @@ const AppBar = ({ title }) => { { title } - Indoteknik -
+
{/* --- Start Title */} - {/* --- End Title */} {/* --- Start Icons */} -
+
diff --git a/src/pages/my/menu.js b/src/pages/my/menu.js index 7454d8d1..4d8c956e 100644 --- a/src/pages/my/menu.js +++ b/src/pages/my/menu.js @@ -6,8 +6,7 @@ import { useAuth } from "../../helpers/auth"; import { ChevronRightIcon, Cog6ToothIcon, - DocumentTextIcon, - UserCircleIcon, UserIcon + UserIcon } from "@heroicons/react/24/outline"; const menus = [ @@ -25,9 +24,11 @@ export default function MyMenu() { -
-
- +
+
+
+ +

{ auth.name }

{ auth.email }

diff --git a/src/pages/my/profile.js b/src/pages/my/profile.js index 44ccfebd..edde307f 100644 --- a/src/pages/my/profile.js +++ b/src/pages/my/profile.js @@ -36,7 +36,7 @@ export default function MyProfile() {
- { auth && ( + { auth?.id && ( <>