Files
klz-cables.com/.pnpm-store/v10/files/a3/d6aa0037e3bd8292268664f73a7bf54a798fe09c1c131ef7cc0b0e664caea6258b75cfd1189dd34c75c2279477c1ce5684356376d023f772fa72084677f50b
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

20 lines
525 B
Plaintext

import { notFound } from 'next/navigation.js';
import { buildCollectionFolderView } from './buildView.js';
export const CollectionFolderView = async args => {
try {
const {
View
} = await buildCollectionFolderView(args);
return View;
} catch (error) {
if (error?.message === 'NEXT_REDIRECT') {
throw error;
}
if (error.message === 'not-found') {
notFound();
} else {
console.error(error); // eslint-disable-line no-console
}
}
};
//# sourceMappingURL=index.js.map