import "@ant-design/v5-patch-for-react-19"; // this to make antd v5 compatible with react 19
import { ReactNode } from "react";

import "./globals.css";
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";
import instance from "@/utils/axios-config";
// import { useParams } from "next/navigation";
import { CookiesProvider } from "next-client-cookies/server";

type Props = {
  children: ReactNode;
};

// Since we have a `not-found.tsx` page on the root, a layout file
// is required, even if it's just passing children through.
export default function RootLayout({ children }: Props) {
  return <CookiesProvider>{children}</CookiesProvider>;
}
