fix(settings): remove duplicate alert popup on change password error (issue #111) #119
|
|
@ -100,11 +100,6 @@ export default function ChangePasswordScreen() {
|
||||||
} else {
|
} else {
|
||||||
setCurrentError(errMsg);
|
setCurrentError(errMsg);
|
||||||
}
|
}
|
||||||
if (Platform.OS === "web") {
|
|
||||||
window.alert(errMsg);
|
|
||||||
} else {
|
|
||||||
Alert.alert("Error", errMsg);
|
|
||||||
}
|
|
||||||
} finally {
|
} finally {
|
||||||
setIsLoading(false);
|
setIsLoading(false);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue