Initial boiler plate project
This commit is contained in:
9
node_modules/next/dist/esm/server/app-render/has-loading-component-in-tree.js
generated
vendored
Normal file
9
node_modules/next/dist/esm/server/app-render/has-loading-component-in-tree.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
export 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
|
||||
Reference in New Issue
Block a user