diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-10-02 11:47:30 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-10-02 11:47:30 +0700 |
| commit | 082a57a5188c594556ba76ce20182472ca9d0b5e (patch) | |
| tree | d9f53c9c96e1911db3d49e7f9dca152101f81f9d /src/lib/auth/components/CompanyProfile.jsx | |
| parent | ccb42e4cd91671d2dff6de30a16809756f83b35c (diff) | |
<iman> update field sppkp
Diffstat (limited to 'src/lib/auth/components/CompanyProfile.jsx')
| -rw-r--r-- | src/lib/auth/components/CompanyProfile.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/auth/components/CompanyProfile.jsx b/src/lib/auth/components/CompanyProfile.jsx index cd55072c..78e62abd 100644 --- a/src/lib/auth/components/CompanyProfile.jsx +++ b/src/lib/auth/components/CompanyProfile.jsx @@ -110,7 +110,9 @@ const CompanyProfile = () => { const handleChange = async () => { if (isChecked) { setIsChecked(!isChecked); + setIsOpen(!isOpen); } else { + setIsChecked(!isChecked); setChangeType(true); } }; |
