{currentTutorial?.units.map(renderUnitTab)}
{/*
{currentUnit?.title ?? currentUnit?.unit ?? "-"}
*/}
{renderUnitDocs(currentUnit)}
{!isFirstUnit &&
currentDocId !== "tutorial/introduction/select-framework" && (
)}
);
};
export const useDocTOCwithTutorial = () => {
const tutorial = useCurrentTutorial();
const { frontMatter, toc } = useDoc();
const hidden = frontMatter.hide_table_of_contents;
const canRender = (!hidden && toc.length > 0) || tutorial?.isTutorial;
const tutorialTOC = canRender ?