Tried some updates

This commit is contained in:
Henrik Larsson
2023-08-13 14:40:44 +02:00
parent d00eff7694
commit 1ca052cc0b
2 changed files with 0 additions and 25 deletions

View File

@@ -3,7 +3,6 @@ import { clientFetch } from 'lib/sanity/sanity.client';
import type { Metadata } from 'next';
import { notFound } from 'next/navigation';
import CategoryPage from './pages/category-page';
import HomePage from './pages/home-page';
import ProductPage from './pages/product-page';
import SinglePage from './pages/single-page';
@@ -49,7 +48,6 @@ export default async function Page({ params }: PageParams) {
return (
<>
{docType === 'home' && <HomePage query={query} queryParams={queryParams} />}
{docType === 'page' && <SinglePage query={query} queryParams={queryParams} />}
{docType === 'product' && <ProductPage query={query} queryParams={queryParams} />}
{docType === 'category' && <CategoryPage query={query} queryParams={queryParams} />}