@flamingo-stack/openframe-frontend-core 0.0.307-snapshot.20260622224838 → 0.0.307
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-4YV5U7GA.js} +1 -3
- package/dist/{chunk-3LVKDW3J.js.map → chunk-4YV5U7GA.js.map} +1 -1
- package/dist/{chunk-L2RN7PCL.cjs → chunk-XXFATUTH.cjs} +1 -3
- package/dist/chunk-XXFATUTH.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 +0 -10
- package/dist/chunk-L2RN7PCL.cjs.map +0 -1
|
@@ -1208,7 +1208,6 @@ function useDocumentTree(config, initialPath) {
|
|
|
1208
1208
|
const result2 = await response.json().catch(() => ({}));
|
|
1209
1209
|
if (path !== lastFetchedPath.current) return;
|
|
1210
1210
|
if (path === folderIndexFile && selectedPath === "") {
|
|
1211
|
-
lastFetchedPath.current = null;
|
|
1212
1211
|
setError(null);
|
|
1213
1212
|
setContent(null);
|
|
1214
1213
|
return;
|
|
@@ -1220,7 +1219,6 @@ function useDocumentTree(config, initialPath) {
|
|
|
1220
1219
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
1221
1220
|
const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
|
|
1222
1221
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
1223
|
-
lastFetchedPath.current = null;
|
|
1224
1222
|
setError(null);
|
|
1225
1223
|
setContent(null);
|
|
1226
1224
|
return;
|
|
@@ -1855,4 +1853,4 @@ export {
|
|
|
1855
1853
|
EmbedSkeleton,
|
|
1856
1854
|
DocsHubPage
|
|
1857
1855
|
};
|
|
1858
|
-
//# sourceMappingURL=chunk-
|
|
1856
|
+
//# sourceMappingURL=chunk-4YV5U7GA.js.map
|