@@ -30,7 +30,7 @@ const Track = ({ pageContext, data }) => {
30
30
31
31
// cover image for the video, falls back to final placeholder image
32
32
// used as a placeholder for showcase
33
- const contributionPlaceholder = coverImage
33
+ const contributionsPlaceholder = coverImage
34
34
? coverImage . childImageSharp . gatsbyImageData
35
35
: videoPlaceHolderImage
36
36
? videoPlaceHolderImage . childImageSharp . gatsbyImageData
@@ -43,10 +43,10 @@ const Track = ({ pageContext, data }) => {
43
43
// cover image for the track, falls back to video cover image and then to final placeholder image
44
44
const trackImage = track . cover
45
45
? track . cover . file . childImageSharp . gatsbyImageData
46
- : contributionPlaceholder ;
46
+ : contributionsPlaceholder ;
47
47
48
48
// cover image for the video, falls back to track cover image
49
- const videoImage = contributionPlaceholder ? contributionPlaceholder : trackImage ;
49
+ const videoImage = contributionsPlaceholder ? contributionsPlaceholder : trackImage ;
50
50
51
51
const { trackPosition, isTrackPage } = pageContext ;
52
52
@@ -108,7 +108,7 @@ const Track = ({ pageContext, data }) => {
108
108
109
109
< PassengerShowcasePanel
110
110
contributions = { video . showcase }
111
- placeholderImage = { contributionPlaceholder }
111
+ placeholderImage = { contributionsPlaceholder }
112
112
headerType = { isTrackPage ? 'h3' : 'h2' }
113
113
submitButtonState = { {
114
114
track : video . canonicalTrack ?. slug ?? 'challenges' ,
0 commit comments