Skip to content

Commit f1dc5fd

Browse files
authored
Update committee.js
back to static
1 parent 7ecda35 commit f1dc5fd

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/pages/committee.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,15 @@ function toGoogleImageUrl(thumbnailUrl) {
151151

152152

153153
}
154-
export async function getStaticProps() {
155-
const res = await fetch("https://wrcrobotics.pythonanywhere.com/committee");
156-
const committeeData = await res.json();
154+
// export async function getStaticProps() {
155+
// const res = await fetch("https://wrcrobotics.pythonanywhere.com/committee");
156+
// const committeeData = await res.json();
157157

158-
return {
159-
props: { committeeData },
160-
revalidate: 10, // updates every 10 seconds
161-
};
162-
}
158+
// return {
159+
// props: { committeeData },
160+
// revalidate: 10, // updates every 10 seconds
161+
// };
162+
// }
163163

164164
const styles = {
165165
banner: {

0 commit comments

Comments
 (0)