From 2abbd67042ed4c552beefb61809e894b5990d81e Mon Sep 17 00:00:00 2001 From: Fae Date: Wed, 15 Jan 2025 13:29:15 -0300 Subject: [PATCH] Corrigindo front esqueci-minha-senha --- src/app/private/pages/esqueciSenha.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/private/pages/esqueciSenha.tsx b/src/app/private/pages/esqueciSenha.tsx index f9a98f4..df7013a 100644 --- a/src/app/private/pages/esqueciSenha.tsx +++ b/src/app/private/pages/esqueciSenha.tsx @@ -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(""); @@ -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") } @@ -118,6 +118,6 @@ const styles = StyleSheet.create({ flex: 1, justifyContent: "center", alignItems: "center", - marginTop: 50, + marginTop: 30, }, });