import { Wordmark } from "@/components/wordmark"
import { AccountMergeConfirmForm } from "@/components/account-merge-confirm-form"

export default async function AccountMergeConfirmPage({
  params,
}: {
  params: Promise<{ token: string }>
}) {
  const { token } = await params
  return (
    <main className="flex min-h-[100dvh] flex-col items-center justify-center bg-background px-5 py-10">
      <div className="flex w-full max-w-sm flex-col gap-8">
        <header className="flex flex-col items-center gap-3 text-center">
          <Wordmark />
        </header>

        <AccountMergeConfirmForm token={token} />
      </div>
    </main>
  )
}
