Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleknighted committed May 21, 2020
1 parent b09e873 commit a2de0dd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Expand Up @@ -66,7 +66,7 @@ const JvmHeapUsage = createReactClass({

mixins: [Reflux.connect(MetricsStore)],

componentWillMount() {
UNSAFE_componentWillMount() {
const { nodeId } = this.props;

this.metricNames = {
Expand Down
Expand Up @@ -38,7 +38,7 @@ ColorLabel.propTypes = {
text: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
size: PropTypes.oneOf(['normal', 'small', 'xsmall']),
theme: PropTypes.shape({
color: PropTypes.object,
colors: PropTypes.object,
}).isRequired,
};

Expand Down
Expand Up @@ -14,7 +14,6 @@ const StyledAceEditor = styled(AceEditor).attrs(({ aceTheme, theme }) => ({
background-color: ${scTheme.colors.global.inputBackground};
color: ${util.contrastingColor(scTheme.colors.global.inputBackground, 'AAA')};
&.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0 ${scTheme.colors.global.inputBackground};
}
Expand Down
Expand Up @@ -57,7 +57,7 @@ class SavedSearchControls extends React.Component<Props, State> {
username: PropTypes.string.isRequired,
}).isRequired,
theme: PropTypes.shape({
color: PropTypes.object,
colors: PropTypes.object,
}).isRequired,
};

Expand Down

0 comments on commit a2de0dd

Please sign in to comment.