@flamingo-stack/openframe-frontend-core 0.0.307 → 0.0.308

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.
@@ -1208,6 +1208,7 @@ 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;
1211
1212
  setError(null);
1212
1213
  setContent(null);
1213
1214
  return;
@@ -1219,6 +1220,7 @@ function useDocumentTree(config, initialPath) {
1219
1220
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
1220
1221
  const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
1221
1222
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
1223
+ lastFetchedPath.current = null;
1222
1224
  setError(null);
1223
1225
  setContent(null);
1224
1226
  return;
@@ -1853,4 +1855,4 @@ export {
1853
1855
  EmbedSkeleton,
1854
1856
  DocsHubPage
1855
1857
  };
1856
- //# sourceMappingURL=chunk-4YV5U7GA.js.map
1858
+ //# sourceMappingURL=chunk-3LVKDW3J.js.map