"use client"; import { FC, useState } from "react"; import { useRouter } from "next/navigation"; import Iframe from "react-iframe"; type ZammadWrapperProps = { path: string; hideSidebar?: boolean; }; export const ZammadWrapper: FC = ({ path, hideSidebar = true, }) => { const router = useRouter(); const [display, setDisplay] = useState("none"); const url = `/zammad${path}`; return ( // @ts-ignore