Merge pull request 'fix(settings): remove duplicate alert popup on change password error (issue #111)' (#119) from issue-111 into main
Reviewed-on: https://git.zedobject.local/AcuPedia/acupedia-mobile-ui/pulls/119
This commit is contained in:
commit
b1ce4179ad
|
|
@ -100,11 +100,6 @@ export default function ChangePasswordScreen() {
|
|||
} else {
|
||||
setCurrentError(errMsg);
|
||||
}
|
||||
if (Platform.OS === "web") {
|
||||
window.alert(errMsg);
|
||||
} else {
|
||||
Alert.alert("Error", errMsg);
|
||||
}
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue