entryHref
A history entry's page, if there's one to link to (pageLinks).
import { at, pageLinks } from "#codebase/tcmts/share"; export const entryHref = (causal: string): string | undefined => pageLinks.current ? pageLinks.current.entry(causal) : at(`/history/${causal}`)