mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2026-10-15 15:17:29 +00:00
refactor(playground): remove generateStaticParams function
This commit is contained in:
@@ -81,13 +81,3 @@ export default async function PlaygroundLayout({
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export async function generateStaticParams() {
|
||||
const problems = await prisma.problem.findMany({
|
||||
select: { id: true },
|
||||
});
|
||||
|
||||
return problems.map((problem) => ({
|
||||
id: problem.id,
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user