with encrypted data on envolope submit
This commit is contained in:
@@ -54,7 +54,7 @@ import {
|
||||
} from 'lucide-react-native';
|
||||
import { useFocusEffect, useNavigation } from '@react-navigation/native';
|
||||
|
||||
import { useContractorProfile, useUpdateUserProfile, useESetuAdharVarification } from '../../Services/BBPS/Hooks';
|
||||
import { useContractorProfile, useUpdateUserProfile, useESetuAdharVarification } from '../../Services/ApiCall/Hooks';
|
||||
import colors from '../../Constant/Color';
|
||||
import { useSelector } from 'react-redux';
|
||||
import ConfirmDialog from '../../Constant/Dialog/ConfirmDialog';
|
||||
@@ -212,7 +212,6 @@ const ProfileTab: React.FC = () => {
|
||||
Navigation.navigate(NavigationString.KycWebViewScreen, { res });
|
||||
|
||||
} catch (err) {
|
||||
console.log("Verification error:", err);
|
||||
Alert.alert('Error', 'Failed to initiate verification. Please try again.');
|
||||
setIsNavigating(false);
|
||||
}
|
||||
@@ -466,7 +465,6 @@ const EditProfileModal: React.FC<EditProfileModalProps> = ({
|
||||
|
||||
try {
|
||||
const result = await updateProfileMutation.mutateAsync(formData);
|
||||
console.log("UserProfile ",result)
|
||||
Alert.alert('Success', 'Profile updated successfully');
|
||||
onSuccess();
|
||||
onClose();
|
||||
|
||||
Reference in New Issue
Block a user