Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
No EOL
312 B
Text
9 lines
No EOL
312 B
Text
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 |