Address review feedback.

This commit is contained in:
kialam
2019-01-15 15:15:17 -05:00
parent e8fe6fe33c
commit fc32cf026f
4 changed files with 11 additions and 18 deletions

View File

@@ -1,5 +1,4 @@
import React from 'react';
import PropTypes from 'prop-types';
import { I18n } from '@lingui/react';
import { Trans, t } from '@lingui/macro';
import {
@@ -87,9 +86,4 @@ class About extends React.Component {
}
}
About.contextTypes = {
ansible_version: PropTypes.string,
version: PropTypes.string,
};
export default About;

View File

@@ -58,7 +58,7 @@ class Lookup extends React.Component {
<div className="pf-c-form-control">{this.wrapTags(this.props.data)}</div>
<Modal
className="awx-c-modal"
title={`Select ${this.props.lookup_header}`}
title={`Select ${this.props.lookupHeader}`}
isOpen={isModalOpen}
onClose={this.handleModalToggle}
>