revalidate home page

pull/148/head
Max Leiter 2 years ago
parent a1fa7dbb8a
commit 69ca511cc2

@ -1,3 +1,5 @@
import HomePage from "../page"
export default HomePage
export const revalidate = 300

@ -12,6 +12,8 @@ import { cache, Suspense } from "react"
import ErrorBoundary from "@components/error/fallback"
import { Stack } from "@components/stack"
export const revalidate = 300
const getWelcomeData = cache(async () => {
const welcomeContent = await getWelcomeContent()
return welcomeContent

Loading…
Cancel
Save