Files
vercel_dashboard_example/.pnpm-store/v11/files/79/67b9d5e086979750af29ff893ea5158432937c49386096186c09ede95c8aa962f00a572ace146fbcb79edc978fdf604bc54385cd8ef8fc75eea45d21819b66
T
2026-05-12 14:53:15 +00:00

19 lines
544 B
Plaintext

"use strict";
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