silverwolf-x's picture
download
raw
184 Bytes
// If it's sync default export, convert to async and await the function call
import { draftMode } from 'next/headers'
export default function MyComponent() {
draftMode().enable()
}

Xet Storage Details

Size:
184 Bytes
·
Xet hash:
2edede58a1d7319537839447b97c1b0c16a61df11ed875a3a62d38f948347be7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.