"use client";

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

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