"use client"; import { Button } from "@multica/ui/components/ui/button"; import { paths } from "@multica/core/paths"; import { useNavigation } from "../navigation"; import { useLogout } from "../auth"; /** * Rendered when the workspace slug in the URL does not resolve to a workspace * the current user can access. Deliberately doesn't distinguish "workspace * doesn't exist" from "workspace exists but I'm not a member" — showing * either would let attackers enumerate workspace slugs. */ export function NoAccessPage() { const nav = useNavigation(); const logout = useLogout(); return (
This workspace doesn't exist or you don't have access.