File tree 3 files changed +3
-3
lines changed
demos/default/pages/getStaticProps
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ 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 )
23
22
const data = await res . json ( )
23
+ console . log ( data )
24
24
25
25
return {
26
26
props : {
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ 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 )
25
24
const data = await res . json ( )
25
+ console . log ( data )
26
26
27
27
return {
28
28
props : {
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ 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 )
23
22
const data = await res . json ( )
23
+ console . log ( data )
24
24
25
25
return {
26
26
props : {
You can’t perform that action at this time.
0 commit comments