Skip to content

Commit

Permalink
implemented workaround fix per this thread: gatsbyjs/gatsby#11108
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbliss committed May 29, 2020
1 parent 2e492b9 commit d4f7921
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/pages/faq.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const faq = ({
<Typography variant="h5">
{edge.node.frontmatter.title}
</Typography>
{edge.node.html}
{/*<Typography variant="body1" dangerouslySetInnerHTML={{ __html: edge.node.html }}/>*/}
<Typography variant="body1" dangerouslySetInnerHTML={{ __html: `<div>${edge.node.html}</div>` }}/>
</React.Fragment>
)
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/guides.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const guides = ({
const Guides = edges
.map(edge =>
<React.Fragment>
<Typography variant="body1" dangerouslySetInnerHTML={{ __html: edge.node.html }}/>
<Typography variant="body1" dangerouslySetInnerHTML={{ __html: `<div>${edge.node.html}</div>` }}/>
</React.Fragment>
)
return (
Expand Down

0 comments on commit d4f7921

Please sign in to comment.