({ condition, wrapper, children }: ConditionalLinkTypes)
| 104 | // link to the new page. We want standalone categories to have links |
| 105 | // just like maptopics/subcategories. |
| 106 | const ConditionalLinkWrapper = ({ condition, wrapper, children }: ConditionalLinkTypes) => |
| 107 | condition ? wrapper(children) : children |
| 108 | |
| 109 | const renderRestAnchorLink = (miniTocItem: MiniTocItem) => { |
| 110 | const miniTocAnchor = miniTocItem.contents.href |
nothing calls this directly
no outgoing calls
no test coverage detected