2023-05-24 20:27:57 +00:00
|
|
|
import { FC } from "react";
|
|
|
|
|
import dynamic from "next/dynamic";
|
|
|
|
|
|
|
|
|
|
const InternalZammadWrapper = dynamic(
|
|
|
|
|
import("./InternalZammadWrapper").then((mod) => mod.InternalZammadWrapper),
|
|
|
|
|
{
|
|
|
|
|
ssr: false,
|
|
|
|
|
}
|
|
|
|
|
);
|
2022-12-02 17:45:14 +01:00
|
|
|
|
|
|
|
|
type ZammadWrapperProps = {
|
2023-02-22 13:05:52 +00:00
|
|
|
path: string;
|
2022-12-02 17:45:14 +01:00
|
|
|
hideSidebar?: boolean;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const ZammadWrapper: FC<ZammadWrapperProps> = ({
|
2023-02-22 13:05:52 +00:00
|
|
|
path,
|
2023-05-24 20:27:57 +00:00
|
|
|
hideSidebar,
|
|
|
|
|
}) => <InternalZammadWrapper path={path} hideSidebar={hideSidebar} />;
|