From ef316b35a5af8be878df9f68ba4a70fd1716a207 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Wed, 29 Jul 2020 16:56:24 -0700 Subject: [PATCH] fix: add prop type for page prop --- src/components/RelatedContent.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/RelatedContent.js b/src/components/RelatedContent.js index 2fc8a3d1d..93c3c30f2 100644 --- a/src/components/RelatedContent.js +++ b/src/components/RelatedContent.js @@ -79,6 +79,11 @@ const RelatedContent = ({ className, page }) => { RelatedContent.propTypes = { className: PropTypes.string, + page: PropTypes.shape({ + fields: PropTypes.shape({ + gitAuthorTime: PropTypes.string, + }), + }), }; export const query = graphql`