import { Button, ButtonSize, Text, TextField, View } from "react-native-ui-lib"; import React, { useState } from "react"; import { StyleSheet } from "react-native"; import { useResetPassword } from "@/hooks/firebase/useResetPassword"; import { router } from "expo-router"; export const ResetPasswordPage = () => { const [email, setEmail] = useState(""); const { mutateAsync: resetPassword, error, isError, isLoading, } = useResetPassword(); const handleResetPassword = async () => { await resetPassword({ email }); alert("Password reset, please check your email"); }; return ( Please enter your email and reset your password