import ArchivePage from "../../components/ArchivePage"; export default async function Shop({ searchParams }: { searchParams: Promise<{ [key: string]: string | string[] | undefined }> }) { const resolvedParams = await searchParams; const category = typeof resolvedParams.category === 'string' ? resolvedParams.category : "all"; const search = typeof resolvedParams.search === 'string' ? resolvedParams.search : ""; return ; }