()
| 5 | import {SiteNodeSection} from './SiteNodeSection.tsx'; |
| 6 | |
| 7 | export const ArticleInner: NoPropComponent = (): any => { |
| 8 | const rootNode = useRootNode(); |
| 9 | const pageNode = usePageNode(); |
| 10 | const isHome = pageNode == rootNode; |
| 11 | const isDemo = hasExecutables(pageNode); |
| 12 | |
| 13 | return isHome ? null : ( |
| 14 | <> |
| 15 | <nav> |
| 16 | <ul> |
| 17 | <NodeBreadcrumbs node={rootNode} /> |
| 18 | </ul> |
| 19 | </nav> |
| 20 | {isDemo ? ( |
| 21 | <DemoNodeSection node={pageNode} /> |
| 22 | ) : ( |
| 23 | <SiteNodeSection node={pageNode} /> |
| 24 | )} |
| 25 | </> |
| 26 | ); |
| 27 | }; |
nothing calls this directly
no test coverage detected
searching dependent graphs…