mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
19 lines
405 B
TypeScript
19 lines
405 B
TypeScript
import { Suspense } from "react";
|
|
import { Loading } from "@/components/loading";
|
|
|
|
interface ProblemDescriptionLayoutProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export default function ProblemDescriptionLayout({
|
|
children,
|
|
}: ProblemDescriptionLayoutProps) {
|
|
return (
|
|
<div className="h-full flex flex-col">
|
|
<Suspense fallback={<Loading />}>
|
|
{children}
|
|
</Suspense>
|
|
</div>
|
|
);
|
|
}
|