import { useState } from "react"; import AuthLayout from "../../layouts/AuthLayout"; import { RecoveryForm } from "../../components/forms/RecoveryForm"; import HighlightedLink from "../../components/HighlightedLink"; const State = { Pure: "PURE", Success: "SUCCESS", Failure: "FAILURE", }; const ResetPasswordPage = () => { const [state, setState] = useState(State.Pure); return (
Skynet
{state !== State.Success && ( setState(State.Success)} onFailure={() => setState(State.Failure)} /> )} {state === State.Success && (

Please check your inbox for further instructions.

)} {state === State.Failure && (

Something went wrong, please try again later.

)}

Suddenly remembered your password? Sign in

Don't actually have an account? Create one!

); }; ResetPasswordPage.Layout = AuthLayout; export default ResetPasswordPage;