mirror of
https://github.com/massbug/judge4c.git
synced 2026-10-15 15:17:31 +00:00
feat(problemset): add dynamic rendering for ProblemsetPage
This commit is contained in:
@@ -10,6 +10,8 @@ import {
|
||||
import prisma from "@/lib/prisma";
|
||||
import { Difficulty } from "@prisma/client";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
const getDifficultyColor = (difficulty: Difficulty) => {
|
||||
switch (difficulty) {
|
||||
case "EASY":
|
||||
|
||||
Reference in New Issue
Block a user