mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-17 23:12:23 +00:00
feat(problemset): add dynamic rendering for ProblemsetPage
This commit is contained in:
parent
c58ed38c03
commit
eab62706e0
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user