Linting
This commit is contained in:
5
src/docs/templates/TagPage.js
vendored
5
src/docs/templates/TagPage.js
vendored
@ -34,11 +34,10 @@ const TagRoute = props => {
|
||||
snippetData={{
|
||||
title: node.frontmatter.title,
|
||||
html: node.html,
|
||||
code: getCodeBlocks(node.rawMarkdownBody).code,
|
||||
tags: node.frontmatter.tags.split(',').map(v => v.trim()),
|
||||
id: node.fields.slug.slice(1),
|
||||
code: props.data.snippetDataJson.data.find(v => v.title == node.frontmatter.title).attributes.codeBlocks,
|
||||
supportPercentage: props.data.snippetDataJson.data.find(v => v.title == node.frontmatter.title).attributes.browserSupport.supportPercentage,
|
||||
code: props.data.snippetDataJson.data.find(v => v.title === node.frontmatter.title).attributes.codeBlocks,
|
||||
supportPercentage: props.data.snippetDataJson.data.find(v => v.title === node.frontmatter.title).attributes.browserSupport.supportPercentage,
|
||||
}}
|
||||
isDarkMode={props.isDarkMode}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user