Skip to content

Commit f19d80d

Browse files
committed
chore: update test debugging
1 parent 6c93f73 commit f19d80d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

demos/default/pages/getStaticProps/static.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ 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)
2322
const data = await res.json()
23+
console.log(data)
2424

2525
return {
2626
props: {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ 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)
2524
const data = await res.json()
25+
console.log(data)
2626

2727
return {
2828
props: {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ 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)
2322
const data = await res.json()
23+
console.log(data)
2424

2525
return {
2626
props: {

0 commit comments

Comments
 (0)