summaryrefslogtreecommitdiff
path: root/src/pages/my/profile.js
diff options
context:
space:
mode:
authorRafi Zadanly <rafizadanly@gmail.com>2022-12-22 16:20:51 +0700
committerRafi Zadanly <rafizadanly@gmail.com>2022-12-22 16:20:51 +0700
commit07b30e319f5a6f51ff5b044840345e05a9deb931 (patch)
treef2672dc32a37719e2ea67349f89314c6aef2d955 /src/pages/my/profile.js
parent31d6352ab8855754ef18c01763d3c1b5a68de857 (diff)
no message
Diffstat (limited to 'src/pages/my/profile.js')
-rw-r--r--src/pages/my/profile.js2
1 files changed, 1 insertions, 1 deletions
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() {
<Layout>
<AppBar title="Akun Saya" />
<form onSubmit={update} className="w-full px-4">
- { auth && (
+ { auth?.id && (
<>
<label className="form-label mt-4 mb-2">Email</label>
<input