"use client";

import { useEffect } from "react";
import { useRouter } from "next/navigation";
import { LoadingState } from "@/src/shared/ui";

export default function LegacyRedirect() {
  const router = useRouter();
  useEffect(() => {
    router.replace("/healthcare/reception/calendar");
  }, [router]);
  return <LoadingState label="در حال انتقال…" />;
}
