import { FC } from "react";
import dynamic from "next/dynamic";

const InternalZammadWrapper = dynamic(
  import("./InternalZammadWrapper").then((mod) => mod.InternalZammadWrapper),
  {
    ssr: false,
  }
);

type ZammadWrapperProps = {
  path: string;
  hideSidebar?: boolean;
};

export const ZammadWrapper: FC<ZammadWrapperProps> = ({
  path,
  hideSidebar,
}) => <InternalZammadWrapper path={path} hideSidebar={hideSidebar} />;
