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
2424 // Put together the content of the repository
2525 const content = (
2626 < 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" >
2828 { nameprefix + item . name }
2929 </ 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" >
3131 < IssueIcon className = "repo-list-item__issue-icon" />
3232 { item . open_issues_count }
3333 </ a >
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ import getInjectors from './reducerInjectors';
1414export default ( { key, reducer } ) => ( WrappedComponent ) => {
1515 class ReducerInjector extends React . Component {
1616 static WrappedComponent = WrappedComponent ;
17+ static displayName = `withReducer(${ ( WrappedComponent . displayName || WrappedComponent . name || 'Component' ) } )` ;
1718 static contextTypes = {
1819 store : PropTypes . object . isRequired ,
1920 } ;
20- static displayName = `withReducer(${ ( WrappedComponent . displayName || WrappedComponent . name || 'Component' ) } )` ;
2121
2222 componentWillMount ( ) {
2323 const { injectReducer } = this . injectors ;
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ import getInjectors from './sagaInjectors';
1818export default ( { key, saga, mode } ) => ( WrappedComponent ) => {
1919 class InjectSaga extends React . Component {
2020 static WrappedComponent = WrappedComponent ;
21+ static displayName = `withSaga(${ ( WrappedComponent . displayName || WrappedComponent . name || 'Component' ) } )` ;
2122 static contextTypes = {
2223 store : PropTypes . object . isRequired ,
2324 } ;
24- static displayName = `withSaga(${ ( WrappedComponent . displayName || WrappedComponent . name || 'Component' ) } )` ;
2525
2626 componentWillMount ( ) {
2727 const { injectSaga } = this . injectors ;
You can’t perform that action at this time.
0 commit comments