Skip to content
This repository was archived by the owner on Mar 22, 2020. It is now read-only.

Commit 755c5f5

Browse files
authored
Merge pull request #10 from balinskia/master
Fix dependency warnings
2 parents 9886049 + 6bacd25 commit 755c5f5

File tree

5 files changed

+17178
-29
lines changed

5 files changed

+17178
-29
lines changed

app/containers/RepoListItem/RepoListItem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>

app/utils/injectReducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import getInjectors from './reducerInjectors';
1414
export 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;

app/utils/injectSaga.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import getInjectors from './sagaInjectors';
1818
export 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;

0 commit comments

Comments
 (0)