import { AuthFormState } from "@/modules/authentication/authFormState"
import LogoTitle from "../LogoTitle"
import ChangePasswordForm from "./ChangePasswordForm"

type Props = {
  setFormState: React.Dispatch<React.SetStateAction<AuthFormState>>
  token: string
}

const ChangePassword = ({ setFormState, token }: Props) => {
  return (
    <div className="py-8">
      <LogoTitle title="change_password" />
      <ChangePasswordForm setFormState={setFormState} token={token} />
    </div>
  )
}

export default ChangePassword
