From 8efe9fb6dd906431dcaed1818aae07692aeaa094 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Tue, 4 Feb 2025 15:16:37 +0700 Subject: update logic switch account --- src/pages/my/profile.jsx | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/pages/my/profile.jsx b/src/pages/my/profile.jsx index eaf3341c..77c108cb 100644 --- a/src/pages/my/profile.jsx +++ b/src/pages/my/profile.jsx @@ -108,18 +108,19 @@ export default function Profile() {
- {!auth?.parentId && !ubahAkun && ( -
- -

Ubah ke akun bisnis

-
- )} + {auth?.company || + (!ubahAkun && ( +
+ +

Ubah ke akun bisnis

+
+ ))} {isChecked && (
-- cgit v1.2.3