import { usePermissions } from '@/hooks/usePermissions' interface Props { onUploadClick?: () => void } export function EmptyStateCard({ onUploadClick }: Props) { const { canCoverL1 } = usePermissions() return (
L1 Workspace works best when your account has KB content or authored flows. Right now there's nothing to match against — calls will start as ad-hoc walks.
{canCoverL1 && onUploadClick ? ( ) : (