18 lines
369 B
TypeScript
18 lines
369 B
TypeScript
import { Header, Footer } from "@/components/Shell";
|
|
import { Results } from "@/components/Results";
|
|
export default async function ResultPage({
|
|
params,
|
|
}: {
|
|
params: Promise<{ id: string }>;
|
|
}) {
|
|
return (
|
|
<>
|
|
<Header />
|
|
<main className="section page-content">
|
|
<Results id={(await params).id} />
|
|
</main>
|
|
<Footer />
|
|
</>
|
|
);
|
|
}
|