Skip to content

Commit

Permalink
fix: add prop type for page prop
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 29, 2020
1 parent 89c3d78 commit ef316b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/RelatedContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit ef316b3

Please sign in to comment.