Fix prettier

This commit is contained in:
Joel Marcey 2017-12-14 09:38:32 -08:00
parent d6fb14cfa4
commit 606029b9ff

View file

@ -64,7 +64,7 @@ class BlogPostLayout extends React.Component {
var descLines = this.props.children.trim().split('\n');
for (var i = 0; i < descLines.length; i++) {
// Don't want blank lines or descriptions that are raw image rendering strings
if (descLines[i] && !descLines[i].startsWith("![")) {
if (descLines[i] && !descLines[i].startsWith('![')) {
return descLines[i];
}
}