fix(client): fix v7 certlocation (#41565)

This commit is contained in:
Shaun Hamilton
2021-03-24 14:58:13 +00:00
committed by GitHub
parent 0fea83bac5
commit 3aad0808ed
2 changed files with 8 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ export class SuperBlockIntroductionPage extends Component {
const {
data: {
markdownRemark: {
frontmatter: { superBlock }
frontmatter: { superBlock, title }
},
allChallengeNode: { edges }
},
@@ -175,7 +175,7 @@ export class SuperBlockIntroductionPage extends Component {
))}
{superBlock !== 'coding-interview-prep' && (
<div>
<CertChallenge superBlock={superBlock} />
<CertChallenge superBlock={superBlock} title={title} />
</div>
)}
</div>
@@ -216,6 +216,7 @@ export const query = graphql`
markdownRemark(fields: { slug: { eq: $slug } }) {
frontmatter {
superBlock
title
}
}
allChallengeNode(