From ab71fc45c93a067dcd12db86479f7cbc57c3984b Mon Sep 17 00:00:00 2001 From: Chloe Date: Tue, 7 May 2024 14:52:33 +0700 Subject: [PATCH] fix: remove unused code Signed-off-by: Chloe --- app/search/[collection]/page.tsx | 2 +- components/layout/search/collections.tsx | 37 ------------------------ 2 files changed, 1 insertion(+), 38 deletions(-) delete mode 100644 components/layout/search/collections.tsx diff --git a/app/search/[collection]/page.tsx b/app/search/[collection]/page.tsx index 547d20180..ea52c14ab 100644 --- a/app/search/[collection]/page.tsx +++ b/app/search/[collection]/page.tsx @@ -118,7 +118,7 @@ export default async function CategoryPage({

{collection.description}

) : null} -
+
diff --git a/components/layout/search/collections.tsx b/components/layout/search/collections.tsx deleted file mode 100644 index c45833a39..000000000 --- a/components/layout/search/collections.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import clsx from 'clsx'; -import { Suspense } from 'react'; - -import { getCollections } from 'lib/shopify'; -import FilterList from './filter'; - -async function CollectionList() { - const collections = await getCollections(); - 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() { - return ( - -
-
-
-
-
-
-
-
-
-
-
- } - > - - - ); -}