chore: fix alerts

This commit is contained in:
Muhsin Keloth
2025-07-10 17:45:59 +05:30
parent b7fdeb79c2
commit ed79173b1b
@@ -72,17 +72,10 @@ export function useWhatsappEmbeddedSignup() {
useAlert(errorMessage);
};
const handleSignupCancellation = data => {
const handleSignupCancellation = () => {
isProcessing.value = false;
authCodeReceived.value = false;
isAuthenticating.value = false;
let message = t('INBOX_MGMT.ADD.WHATSAPP.EMBEDDED_SIGNUP.CANCELLED');
if (data.data?.current_step) {
message += ` (Step: ${data.data.current_step})`;
}
useAlert(message);
};
const handleSignupSuccess = inboxData => {