mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-10-31 16:49:49 +01:00 
			
		
		
		
	Fix error when disqus shortname is empty
This commit is contained in:
		| @@ -8,6 +8,10 @@ export const PureComments = ({ data, postTitle, postSlug }) => { | ||||
|     disqusShortname | ||||
|   } = data.site.siteMetadata; | ||||
|  | ||||
|   if (!disqusShortname) { | ||||
|     return null; | ||||
|   } | ||||
|  | ||||
|   return ( | ||||
|     <ReactDisqusComments | ||||
|       shortname={disqusShortname} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user