From 74130f381d4bf3deae9a158cb761eb5b22b98f50 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 6 Nov 2024 10:48:14 +0700
Subject: <iman> add loading toast

---
 src/lib/auth/components/SwitchAccount.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/lib/auth/components/SwitchAccount.jsx')

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}` };
-- 
cgit v1.2.3

