2025-06-20 08:39:47 +00:00
|
|
|
import { ProblemView } from "@/features/problems/ui/views/problem-view";
|
2025-06-13 06:03:17 +00:00
|
|
|
|
2025-06-20 08:39:47 +00:00
|
|
|
interface PageProps {
|
2025-06-13 06:03:17 +00:00
|
|
|
params: Promise<{ problemId: string }>;
|
|
|
|
searchParams: Promise<{
|
|
|
|
submissionId: string | undefined;
|
|
|
|
}>;
|
|
|
|
}
|
|
|
|
|
2025-06-20 08:39:47 +00:00
|
|
|
const Page = async ({ params, searchParams }: PageProps) => {
|
2025-06-13 06:03:17 +00:00
|
|
|
const { problemId } = await params;
|
|
|
|
const { submissionId } = await searchParams;
|
|
|
|
|
2025-06-20 08:39:47 +00:00
|
|
|
return <ProblemView problemId={problemId} submissionId={submissionId} />;
|
|
|
|
};
|
2025-06-13 06:03:17 +00:00
|
|
|
|
2025-06-20 08:39:47 +00:00
|
|
|
export default Page;
|