This repository was archived by the owner on Mar 22, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +17178
-29
lines changed Expand file tree Collapse file tree 5 files changed +17178
-29
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ export default class RepoListItem extends React.PureComponent { // eslint-disabl
24
24
// Put together the content of the repository
25
25
const content = (
26
26
< div className = "repo-list-item" >
27
- < a className = "repo-list-item__repo-link" href = { item . html_url } target = "_blank" >
27
+ < a className = "repo-list-item__repo-link" href = { item . html_url } target = "_blank" rel = "noopener noreferrer" >
28
28
{ nameprefix + item . name }
29
29
</ a >
30
- < a className = "repo-list-item__issue-link" href = { `${ item . html_url } /issues` } target = "_blank" >
30
+ < a className = "repo-list-item__issue-link" href = { `${ item . html_url } /issues` } target = "_blank" rel = "noopener noreferrer" >
31
31
< IssueIcon className = "repo-list-item__issue-icon" />
32
32
{ item . open_issues_count }
33
33
</ a >
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ import getInjectors from './reducerInjectors';
14
14
export default ( { key, reducer } ) => ( WrappedComponent ) => {
15
15
class ReducerInjector extends React . Component {
16
16
static WrappedComponent = WrappedComponent ;
17
+ static displayName = `withReducer(${ ( WrappedComponent . displayName || WrappedComponent . name || 'Component' ) } )` ;
17
18
static contextTypes = {
18
19
store : PropTypes . object . isRequired ,
19
20
} ;
20
- static displayName = `withReducer(${ ( WrappedComponent . displayName || WrappedComponent . name || 'Component' ) } )` ;
21
21
22
22
componentWillMount ( ) {
23
23
const { injectReducer } = this . injectors ;
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ import getInjectors from './sagaInjectors';
18
18
export default ( { key, saga, mode } ) => ( WrappedComponent ) => {
19
19
class InjectSaga extends React . Component {
20
20
static WrappedComponent = WrappedComponent ;
21
+ static displayName = `withSaga(${ ( WrappedComponent . displayName || WrappedComponent . name || 'Component' ) } )` ;
21
22
static contextTypes = {
22
23
store : PropTypes . object . isRequired ,
23
24
} ;
24
- static displayName = `withSaga(${ ( WrappedComponent . displayName || WrappedComponent . name || 'Component' ) } )` ;
25
25
26
26
componentWillMount ( ) {
27
27
const { injectSaga } = this . injectors ;
You can’t perform that action at this time.
0 commit comments