File tree 3 files changed +3
-0
lines changed
demos/default/pages/getStaticProps
3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ const Show = ({ show }) => (
19
19
20
20
export async function getStaticProps ( context ) {
21
21
const res = await fetch ( `https://api.tvmaze.com/shows/71` )
22
+ console . log ( res )
22
23
const data = await res . json ( )
23
24
24
25
return {
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ const Show = ({ show }) => (
21
21
22
22
export async function getStaticProps ( context ) {
23
23
const res = await fetch ( `https://api.tvmaze.com/shows/71` )
24
+ console . log ( res )
24
25
const data = await res . json ( )
25
26
26
27
return {
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ const Show = ({ show }) => (
19
19
20
20
export async function getStaticProps ( context ) {
21
21
const res = await fetch ( `https://api.tvmaze.com/shows/71` )
22
+ console . log ( res )
22
23
const data = await res . json ( )
23
24
24
25
return {
You can’t perform that action at this time.
0 commit comments