24 lines
630 B
TypeScript
24 lines
630 B
TypeScript
"use client";
|
|
|
|
import { Suspense } from "react";
|
|
import { ResetForm } from "@/features/auth/ResetForm";
|
|
import { AuthHeader } from "@/features/auth/AuthHeader";
|
|
|
|
// The password-reset landing: reached from the emailed link (?token=...).
|
|
// Wrapped in Suspense because ResetForm reads useSearchParams, which Next.js
|
|
// requires to sit below a Suspense boundary.
|
|
export default function ResetPasswordPage() {
|
|
return (
|
|
<>
|
|
<AuthHeader />
|
|
|
|
<div style={{ flex: 1, minHeight: 40 }} />
|
|
|
|
<Suspense fallback={null}>
|
|
<ResetForm />
|
|
</Suspense>
|
|
|
|
<div style={{ paddingBottom: 60 }} />
|
|
</>
|
|
);
|
|
}
|