mirror of
https://github.com/decompme/decomp.me.git
synced 2026-02-14 10:34:12 -06:00
dynamically render scratch pages (#688)
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import getScratchDetails from "./getScratchDetails"
|
||||
import ScratchEditor from "./ScratchEditor"
|
||||
|
||||
// Always server side render, avoiding caching scratch details
|
||||
export const dynamic = "force-dynamic"
|
||||
|
||||
export default async function Page({ params }: { params: { slug: string }}) {
|
||||
const { scratch, parentScratch, compilation } = await getScratchDetails(params.slug)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user