import clsx from 'clsx';
import { Suspense } from 'react';
import { getSubCollections } from 'lib/shopware';
import FilterList from './filter';
import { transformCollectionToList } from 'lib/shopware/transform';
async function CollectionList({ collection }: { collection: string }) {
const collections = await getSubCollections(collection);
if (collections) {
const list = transformCollectionToList(collections);
if (list.length > 0) return ;
}
}
const skeleton = 'mb-3 h-4 w-5/6 animate-pulse rounded';
const activeAndTitles = 'bg-neutral-800 dark:bg-neutral-300';
const items = 'bg-neutral-400 dark:bg-neutral-700';
export default function Collections({ collection }: { collection: string }) {
return (
}
>
);
}