Spaces:
Sleeping
Sleeping
Download node_modules/next/dist/server/app-render/has-loading-component-in-tree.js from cafe3310/ling-open-studio: direct link, hf CLI and curl.
- Browser
- Download file 544 Bytes
-
https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/app-render/has-loading-component-in-tree.js
- Command line
-
hf download hf://spaces/cafe3310/ling-open-studio/node_modules/next/dist/server/app-render/has-loading-component-in-tree.js
-
curl -L -o has-loading-component-in-tree.js https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/app-render/has-loading-component-in-tree.js
544 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| Object.defineProperty(exports, "hasLoadingComponentInTree", { | |
| enumerable: true, | |
| get: function() { | |
| return hasLoadingComponentInTree; | |
| } | |
| }); | |
| function hasLoadingComponentInTree(tree) { | |
| const [, parallelRoutes, { loading }] = tree; | |
| if (loading) { | |
| return true; | |
| } | |
| return Object.values(parallelRoutes).some((parallelRoute)=>hasLoadingComponentInTree(parallelRoute)); | |
| } | |
| //# sourceMappingURL=has-loading-component-in-tree.js.map |