MCPcopy Index your code
hub / github.com/tinyplex/tinybase / ArticleInner

Function ArticleInner

site/ui/ArticleInner.tsx:7–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import {SiteNodeSection} from './SiteNodeSection.tsx';
6
7export 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};

Callers

nothing calls this directly

Calls 1

hasExecutablesFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…