Signal schedule page is dynamic
Without this the page pre-render is cached, and a hydration error is thrown when this cached pre-render doesn't match the JS rendered version.
This commit is contained in:
parent
7e395c5616
commit
3e9faa0c03
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ import { Events } from "@/ui/events";
|
|||
import { Locations } from "@/ui/locations";
|
||||
import { EventsEdit } from "@/ui/events-edit";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export default async function page() {
|
||||
const schedule: Schedule = JSON.parse(await readFile("schedule.json", "utf-8"));
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue