diff --git a/src/pages/User/components/PullRequests/PullRequest/index.js b/src/pages/User/components/PullRequests/PullRequest/index.js index a5d9ff57..f9357f3b 100644 --- a/src/pages/User/components/PullRequests/PullRequest/index.js +++ b/src/pages/User/components/PullRequests/PullRequest/index.js @@ -1,3 +1,4 @@ +/* eslint-disable camelcase */ import React from 'react'; import PropTypes from 'prop-types'; import MergeStatus from './MergeStatus'; @@ -11,7 +12,10 @@ const ISSUE_STATUS = { const PullRequest = ({ pullRequest }) => (
- +
); @@ -21,12 +25,15 @@ PullRequest.propTypes = { pullRequest: PropTypes.shape({ number: PropTypes.number.isRequired, title: PropTypes.string.isRequired, - created_at: PropTypes.string.isRequired, // eslint-disable-line camelcase + created_at: PropTypes.string.isRequired, state: PropTypes.string.isRequired, user: PropTypes.shape({ login: PropTypes.string.isRequired, url: PropTypes.string.isRequired - }).isRequired + }).isRequired, + pull_request: PropTypes.shape({ + merged_at: PropTypes.string + }) }).isRequired };