Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
return (
{JSON.stringify(this.props.location)}
<div>
{this.props.frontMatter.title}
</div>
<div>
{this.props.frontMatter.description}
</div>
<div>
<div>Posts</div>
{posts.map(post => {
return (
<div>
<a href="{post.path}">
{post.frontMatter.title}
</a>
</div>
);
})}
</div>
<div style="{{">
Horse names: {horseNames.join(', ')}
</div>
);
}
}