Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97cf3f2 commit 04fdaa4Copy full SHA for 04fdaa4
lib/controllers/pr-info-controller.js
@@ -27,16 +27,6 @@ export default class PrInfoController extends React.Component {
27
onUnpinPr: PropTypes.func.isRequired,
28
}
29
30
- shouldComponentUpdate(nextProps) {
31
- return (
32
- nextProps.token !== this.props.token ||
33
- nextProps.host !== this.props.host ||
34
- nextProps.currentBranchName !== this.props.currentBranchName ||
35
- nextProps.onLogin !== this.props.onLogin ||
36
- nextProps.remote !== this.props.remote
37
- );
38
- }
39
-
40
render() {
41
if (this.props.token === UNAUTHENTICATED) {
42
return null;
0 commit comments