Skip to content

Commit

Permalink
Corrigindo front esqueci-minha-senha
Browse files Browse the repository at this point in the history
  • Loading branch information
Faehzin committed Jan 15, 2025
1 parent 5e08932 commit 2abbd67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/private/pages/esqueciSenha.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Image, Alert, Text, View, TextInput, StyleSheet, TouchableOpacity } fro
import { router } from "expo-router";
import { ScrollView } from "react-native";
import BackButton from "../../components/BackButton"
//import BackButton from "/components/BackButton.tsx"; Não consigo achar esse caminho, preciso fazer rodar... (é o botão q volta pra outra pag)

export default function EsqueciSenha() {
const [email, setEmail] = useState("");
Expand All @@ -15,6 +14,7 @@ export default function EsqueciSenha() {
return;
}
else if(email){
await(5)
Alert.alert("Mensagem de email enviada com sucesso!")
router.push("/public/login")
}
Expand Down Expand Up @@ -118,6 +118,6 @@ const styles = StyleSheet.create({
flex: 1,
justifyContent: "center",
alignItems: "center",
marginTop: 50,
marginTop: 30,
},
});

0 comments on commit 2abbd67

Please sign in to comment.