mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
2bf2e98b00
* chore: updated issue filters in space * chore: persisting the query params even when we switch layouts --------- Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
17 lines
560 B
TypeScript
17 lines
560 B
TypeScript
"use client";
|
|
|
|
import { useSearchParams } from "next/navigation";
|
|
// components
|
|
import { ProjectDetailsView } from "@/components/views";
|
|
|
|
export default function WorkspaceProjectPage({ params }: { params: { workspace_slug: any; project_id: any } }) {
|
|
const { workspace_slug, project_id } = params;
|
|
|
|
const searchParams = useSearchParams();
|
|
const peekId = searchParams.get("peekId") || undefined;
|
|
|
|
if (!workspace_slug || !project_id) return <></>;
|
|
|
|
return <ProjectDetailsView workspaceSlug={workspace_slug} projectId={project_id} peekId={peekId} />;
|
|
}
|