File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/gatsby-theme/src/pages Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,24 +10,25 @@ import {
1010 Box ,
1111} from '../components/shared/base' ;
1212import { TutorialButton } from '../components/buttons' ;
13+ import { graphql } from 'gatsby' ;
1314import { getTutorialOverviewSlug } from '../utils/getTutorialSlug' ;
1415import ProgressBar from '../components/ProgressBar' ;
1516
16- const courses = data => {
17+ const courses = ( { data } ) => {
1718 const courseSectionData = [
1819 {
1920 heading : `Frontend` ,
2021 body : `Implement a web frontend for a Hacker News app that talks to a GraphQL
2122 API. We provide a hosted GraphQL API for you so that you can test your
2223 app in a real world environment.` ,
23- data : data . data . frontend . edges ,
24+ data : data . frontend . edges ,
2425 } ,
2526 {
2627 heading : `Backend` ,
2728 body : `Implement a GraphQL API that's backed by a database. The tutorial
2829 teach schema design and implement features like authentication,
2930 filtering, pagination and a lot more` ,
30- data : data . data . backend . edges ,
31+ data : data . backend . edges ,
3132 } ,
3233 ] ;
3334 return (
You can’t perform that action at this time.
0 commit comments