Skip to content

Commit 6c93f73

Browse files
committed
chore: debug test errors
1 parent dc3c406 commit 6c93f73

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

demos/default/pages/getStaticProps/static.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const Show = ({ show }) => (
1919

2020
export async function getStaticProps(context) {
2121
const res = await fetch(`https://api.tvmaze.com/shows/71`)
22+
console.log(res)
2223
const data = await res.json()
2324

2425
return {

demos/default/pages/getStaticProps/with-revalidate-404.js

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const Show = ({ show }) => (
2121

2222
export async function getStaticProps(context) {
2323
const res = await fetch(`https://api.tvmaze.com/shows/71`)
24+
console.log(res)
2425
const data = await res.json()
2526

2627
return {

demos/default/pages/getStaticProps/with-revalidate.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const Show = ({ show }) => (
1919

2020
export async function getStaticProps(context) {
2121
const res = await fetch(`https://api.tvmaze.com/shows/71`)
22+
console.log(res)
2223
const data = await res.json()
2324

2425
return {

0 commit comments

Comments
 (0)