"use client";

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

export default function ContractViewerPage() {
  return (
    <div className="min-h-screen bg-gray-50">
      <Suspense fallback={
        <div className="flex items-center justify-center min-h-screen">
          <div className="text-center">
            <div className="animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600 mx-auto mb-4"></div>
            <div className="text-gray-600">Chargement du contrat...</div>
          </div>
        </div>
      }>
        <ContractViewerContent />
      </Suspense>
    </div>
  );
}