@flamingo-stack/openframe-frontend-core 0.0.308 → 0.0.309
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3LVKDW3J.js → chunk-BPPCLTF2.js} +4 -1
- package/dist/{chunk-3LVKDW3J.js.map → chunk-BPPCLTF2.js.map} +1 -1
- package/dist/{chunk-L2RN7PCL.cjs → chunk-JTS552SA.cjs} +4 -1
- package/dist/chunk-JTS552SA.cjs.map +1 -0
- package/dist/components/docs/index.cjs +2 -2
- package/dist/components/docs/index.js +1 -1
- package/dist/components/docs/use-document-tree.d.ts.map +1 -1
- package/dist/components/index.cjs +88 -88
- package/dist/components/index.js +1 -1
- package/package.json +1 -1
- package/src/components/docs/use-document-tree.ts +10 -0
- package/dist/chunk-L2RN7PCL.cjs.map +0 -1
|
@@ -1144,6 +1144,9 @@ function useDocumentTree(config, initialPath) {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
pathToFetch = firstDocPath;
|
|
1146
1146
|
} else if (node && node.type === "folder" && node.hasReadme) {
|
|
1147
|
+
if (lastFetchedPath.current === selectedPath) {
|
|
1148
|
+
return;
|
|
1149
|
+
}
|
|
1147
1150
|
pathToFetch = `${selectedPath}/${folderIndexFile}`;
|
|
1148
1151
|
} else {
|
|
1149
1152
|
pathToFetch = selectedPath;
|
|
@@ -1855,4 +1858,4 @@ export {
|
|
|
1855
1858
|
EmbedSkeleton,
|
|
1856
1859
|
DocsHubPage
|
|
1857
1860
|
};
|
|
1858
|
-
//# sourceMappingURL=chunk-
|
|
1861
|
+
//# sourceMappingURL=chunk-BPPCLTF2.js.map
|