import {Button, ButtonSize, Text, TextField, View} from "react-native-ui-lib"; import React, {useState} from "react"; import {useSignIn} from "@/hooks/firebase/useSignIn"; import {StyleSheet} from "react-native"; import {useResetPassword} from "@/hooks/firebase/useResetPassword"; import {isLoading} from "expo-font"; export const ResetPasswordPage = ({setTab}: { setTab: React.Dispatch> }) => { 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