16 lines
391 B
TypeScript
16 lines
391 B
TypeScript
import { DiscoverResultsScreen } from "../components/DiscoverResultsScreen";
|
|
|
|
export default async function DiscoverPage({
|
|
searchParams
|
|
}: {
|
|
searchParams?: Promise<Record<string, string | string[] | undefined>>;
|
|
}) {
|
|
const params = await searchParams;
|
|
|
|
return (
|
|
<main className="page-shell discover-page">
|
|
<DiscoverResultsScreen searchParams={params} />
|
|
</main>
|
|
);
|
|
}
|