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 {
10
10
Box ,
11
11
} from '../components/shared/base' ;
12
12
import { TutorialButton } from '../components/buttons' ;
13
+ import { graphql } from 'gatsby' ;
13
14
import { getTutorialOverviewSlug } from '../utils/getTutorialSlug' ;
14
15
import ProgressBar from '../components/ProgressBar' ;
15
16
16
- const courses = data => {
17
+ const courses = ( { data } ) => {
17
18
const courseSectionData = [
18
19
{
19
20
heading : `Frontend` ,
20
21
body : `Implement a web frontend for a Hacker News app that talks to a GraphQL
21
22
API. We provide a hosted GraphQL API for you so that you can test your
22
23
app in a real world environment.` ,
23
- data : data . data . frontend . edges ,
24
+ data : data . frontend . edges ,
24
25
} ,
25
26
{
26
27
heading : `Backend` ,
27
28
body : `Implement a GraphQL API that's backed by a database. The tutorial
28
29
teach schema design and implement features like authentication,
29
30
filtering, pagination and a lot more` ,
30
- data : data . data . backend . edges ,
31
+ data : data . backend . edges ,
31
32
} ,
32
33
] ;
33
34
return (
You can’t perform that action at this time.
0 commit comments