Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

637 B
Raw Blame
'use client';

import { useParams } from 'next/navigation';
import WorkspaceExtraSectionPage from '@/features/teams/components/workspace/WorkspaceExtraSectionPage';
import { useRouteWorkspaceId } from '@/features/teams/hooks/useRouteWorkspaceId';
import { useWorkspacesQuery } from '@/services/workspaces.service';

export default function Page() {
  const { section } = useParams<{ section: string }>();
  const workspaceId = useRouteWorkspaceId();
  const workspace = useWorkspacesQuery().data?.find((entry) => entry.id === workspaceId);
  return workspace && <WorkspaceExtraSectionPage workspace={workspace} sectionId={section} />;
}