"use client";
import HumasLayout from "@/components/layout/humas-layout";
import EMagazineDetail from "@/components/main/detail/e-magazine-detail";
import React, { Suspense, useEffect, useState } from "react";

export default function EnewsDetailPage() {
  const [hasMounted, setHasMounted] = useState(false);

  useEffect(() => {
    setHasMounted(true);
  }, []);

  // Render
  if (!hasMounted) return null;
  return (
    <HumasLayout>
      <Suspense>
        <EMagazineDetail />
      </Suspense>
    </HumasLayout>
  );
}
