diff --git a/src/pages/freeclassrooms/index.tsx b/src/pages/freeclassrooms/index.tsx index f577ab5..c3f2911 100644 --- a/src/pages/freeclassrooms/index.tsx +++ b/src/pages/freeclassrooms/index.tsx @@ -25,8 +25,7 @@ export async function getStaticProps(context: GetStaticPropsContext) { return { props: { - timetables, - revalidate: 60 + timetables } }; } diff --git a/src/pages/timetable/[id].tsx b/src/pages/timetable/[id].tsx index b8d3939..c43ae49 100644 --- a/src/pages/timetable/[id].tsx +++ b/src/pages/timetable/[id].tsx @@ -40,8 +40,7 @@ export async function getStaticProps(context: GetStaticPropsContext) { return { props: { timetable: { id: timetable.uid, ...timetable } - }, - revalidate: 10 + } }; } diff --git a/src/pages/timetable/rooms/[id].tsx b/src/pages/timetable/rooms/[id].tsx index 19fb138..5a4a5bb 100644 --- a/src/pages/timetable/rooms/[id].tsx +++ b/src/pages/timetable/rooms/[id].tsx @@ -39,8 +39,7 @@ export async function getStaticProps(context: GetStaticPropsContext) { return { props: { timetable: { id: timetable.uid, room: timetable.uid, ...timetable } - }, - revalidate: 30 + } }; } diff --git a/src/pages/timetable/teachers/[id].tsx b/src/pages/timetable/teachers/[id].tsx index b2968a9..583d89a 100644 --- a/src/pages/timetable/teachers/[id].tsx +++ b/src/pages/timetable/teachers/[id].tsx @@ -39,8 +39,7 @@ export async function getStaticProps(context: GetStaticPropsContext) { return { props: { timetable: { id: timetable.uid, ...timetable } - }, - revalidate: 5 + } }; }