summaryrefslogtreecommitdiff
path: root/src/pages/my/profile.js
diff options
context:
space:
mode:
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