"use client";

import { HOLIDAY_STATIC_DATA } from "@/data/source/holidays";
import LeavesPageBody from "@/features/leaves/leaves-page-body";
import { useParams } from "next/navigation";

/** Set to `[]` to preview the empty state. */
const holidayRows = HOLIDAY_STATIC_DATA;

const Page = () => {
  const { app } = useParams() as { app: string };

  return (
    <div>
      <LeavesPageBody app={app} data={holidayRows} />
    </div>
  );
};

export default Page;
