⭐️⭐️⭐️ 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.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import { useParams } from 'next/navigation';
// The workspace the path names (/workspaces/:workspaceId), or null off those routes.
export function useRouteWorkspaceId(): number | null {
const { workspaceId } = useParams<{ workspaceId?: string }>();
return workspaceId ? Number(workspaceId) : null;
}