import { PasswordPage } from "@/features/auth/password-page";

export const metadata = { title: "Reset Password" };

export default async function ResetPasswordPage({
  searchParams,
}: {
  searchParams: Promise<{ token?: string | string[] }>;
}) {
  const { token } = await searchParams;
  return (
    <PasswordPage
      mode="reset"
      token={typeof token === "string" ? token : undefined}
    />
  );
}
