import {NextPage} from "next";
import React from "react";

import authType from "@sentrei/common/types/authType";
import {analytics} from "@sentrei/common/utils/firebase";
import Auth from "@sentrei/ui/components/Auth";

import SentreiHeader from "@sentrei/web/components/SentreiHeader";

const ResetPassword: NextPage = () => {
  React.useEffect(() => {
    analytics().setCurrentScreen("reset-password");
  }, []);

  return (
    <>
      <SentreiHeader sign={false} spy={false} /> <Auth type={authType.reset} />;
    </>
  );
};

export default ResetPassword;
