import { ReactElement } from "react"; import { useRouter } from "next/router"; // layouts import { AppLayout } from "layouts/app-layout"; // components // import { GlobalViewsHeader } from "components/workspace"; // import { AllIssueLayoutRoot } from "components/issues"; // import { GlobalIssuesHeader } from "components/headers"; import { AllIssuesViewRoot } from "components/view"; // types import { NextPageWithLayout } from "lib/types"; const GlobalViewIssuesPage: NextPageWithLayout = () => { const router = useRouter(); const { workspaceSlug, globalViewId: viewId } = router.query; if (!workspaceSlug || !viewId) return <>; return (
{/* */}
); }; GlobalViewIssuesPage.getLayout = function getLayout(page: ReactElement) { // return }>{page}; return }>{page}; }; export default GlobalViewIssuesPage;