mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 04:32:32 +02:00
Fixed url prop bug for <ReactDisqusComments />
This commit is contained in:
@@ -4,7 +4,7 @@ import ReactDisqusComments from 'react-disqus-comments';
|
||||
|
||||
export const PureComments = ({ data, postTitle, postSlug }) => {
|
||||
const {
|
||||
siteUrl,
|
||||
url,
|
||||
disqusShortname
|
||||
} = data.site.siteMetadata;
|
||||
|
||||
@@ -17,7 +17,7 @@ export const PureComments = ({ data, postTitle, postSlug }) => {
|
||||
shortname={disqusShortname}
|
||||
identifier={postTitle}
|
||||
title={postTitle}
|
||||
url={siteUrl + postSlug}
|
||||
url={url + postSlug}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user