强制buildSSR
This commit is contained in:
@@ -14,6 +14,8 @@ import { formatDate } from "@/shared/lib/utils"
|
||||
import { getHomeworkAssignments } from "@/modules/homework/data-access"
|
||||
import { PenTool, PlusCircle } from "lucide-react"
|
||||
|
||||
export const dynamic = "force-dynamic"
|
||||
|
||||
export default async function AssignmentsPage() {
|
||||
const assignments = await getHomeworkAssignments()
|
||||
const hasAssignments = assignments.length > 0
|
||||
|
||||
Reference in New Issue
Block a user