Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthachatterjee committed Feb 22, 2019
1 parent 045d732 commit 0b014cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion starters/blog/src/pages/index.js
Expand Up @@ -33,7 +33,11 @@ class BlogIndex extends React.Component {
</Link>
</h3>
<small>{node.frontmatter.date}</small>
<p dangerouslySetInnerHTML={{ __html: node.frontmatter.description || node.excerpt }} />
<p
dangerouslySetInnerHTML={{
__html: node.frontmatter.description || node.excerpt,
}}
/>
</div>
)
})}
Expand Down
5 changes: 4 additions & 1 deletion starters/blog/src/templates/blog-post.js
Expand Up @@ -14,7 +14,10 @@ class BlogPostTemplate extends React.Component {

return (
<Layout location={this.props.location} title={siteTitle}>
<SEO title={post.frontmatter.title} description={post.frontmatter.description || post.excerpt} />
<SEO
title={post.frontmatter.title}
description={post.frontmatter.description || post.excerpt}
/>
<h1>{post.frontmatter.title}</h1>
<p
style={{
Expand Down

0 comments on commit 0b014cf

Please sign in to comment.