diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-11-06 10:48:14 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-11-06 10:48:14 +0700 |
| commit | 74130f381d4bf3deae9a158cb761eb5b22b98f50 (patch) | |
| tree | f1f0fda77079ca348dfc84ffdfb1c8677cdc828e /src | |
| parent | bdfe0ad9b7cc5ef819b7b74fec6159d03280ab91 (diff) | |
<iman> add loading toast
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/auth/components/SwitchAccount.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/auth/components/SwitchAccount.jsx b/src/lib/auth/components/SwitchAccount.jsx index 36d1e0b6..06a802fc 100644 --- a/src/lib/auth/components/SwitchAccount.jsx +++ b/src/lib/auth/components/SwitchAccount.jsx @@ -132,6 +132,7 @@ const SwitchAccount = ({ company_type }) => { } }; const onSubmitHandler = async (values) => { + toast.loading('Mengubah status akun...'); updateForm('parent_id', `${auth.parentId}`); setChangeConfirmation(false); // let data = { ...form, id: `${auth.partnerId}` }; |
