mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-08-07 09:58:01 +02:00
Fix format
This commit is contained in:
@@ -19,7 +19,7 @@ class Disqus extends Component {
|
||||
this.setState({ toasts });
|
||||
}
|
||||
render() {
|
||||
const { postNode, shortName, url:siteUrl } = this.props;
|
||||
const { postNode, shortName, url: siteUrl } = this.props;
|
||||
const post = postNode.frontmatter;
|
||||
const url = siteUrl + postNode.fields.slug;
|
||||
return (
|
||||
|
@@ -32,7 +32,7 @@ class PostTemplateDetails extends React.Component {
|
||||
|
||||
const commentsBlock = (
|
||||
<div>
|
||||
<Disqus postNode={post} shortName={disqusShortname} url={url}/>
|
||||
<Disqus postNode={post} shortName={disqusShortname} url={url} />
|
||||
</div>
|
||||
);
|
||||
|
||||
|
@@ -78,4 +78,4 @@ export const conponentQuery = graphql`
|
||||
vk
|
||||
}
|
||||
}
|
||||
`;
|
||||
`;
|
||||
|
Reference in New Issue
Block a user