"use client";

import { useEffect } from "react";
import { useRouter } from "next/navigation";

export default function CentralePage() {
  const router = useRouter();

  useEffect(() => {
    router.replace("/missions");
  }, [router]);

  return (
    <div className="flex justify-center items-center h-screen">
      <div className="animate-spin rounded-full h-8 w-8 border-t-2 border-b-2 border-blue-600"></div>
    </div>
  );
}
