mirror of
https://github.com/massbug/judge4c.git
synced 2025-07-04 15:50:51 +00:00
18 lines
460 B
TypeScript
18 lines
460 B
TypeScript
import { ProblemView } from "@/features/problems/ui/views/problem-view";
|
|
|
|
interface PageProps {
|
|
params: Promise<{ problemId: string }>;
|
|
searchParams: Promise<{
|
|
submissionId: string | undefined;
|
|
}>;
|
|
}
|
|
|
|
const Page = async ({ params, searchParams }: PageProps) => {
|
|
const { problemId } = await params;
|
|
const { submissionId } = await searchParams;
|
|
|
|
return <ProblemView problemId={problemId} submissionId={submissionId} />;
|
|
};
|
|
|
|
export default Page;
|