import { Suspense } from "react";
import ReactivateContent from "./ReactivateContent";

export default function ReactivatePage({
  params,
}: {
  params: { lang: string };
}) {
  return (
    <Suspense
      fallback={
        <div className="min-h-screen flex items-center justify-center">
          <div className="animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600" />
        </div>
      }
    >
      <ReactivateContent lang={params.lang} />
    </Suspense>
  );
}
