lint error fix

This commit is contained in:
Meru Patel 2018-09-12 10:54:05 +05:30
parent 7a44cceb65
commit c676fae7bf
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class Console extends React.Component {
this.props.dispatchConsoleEvent(this.props.consoleEvents);
}
if(this.props.consoleFontSize !== prevProps.consoleFontSize){
if (this.props.consoleFontSize !== prevProps.consoleFontSize) {
this.props.clearConsole();
this.props.dispatchConsoleEvent(this.props.consoleEvents);
}
@ -134,7 +134,8 @@ Console.propTypes = {
expandConsole: PropTypes.func.isRequired,
clearConsole: PropTypes.func.isRequired,
dispatchConsoleEvent: PropTypes.func.isRequired,
theme: PropTypes.string.isRequired
theme: PropTypes.string.isRequired,
consoleFontSize: PropTypes.number.isRequired
};
Console.defaultProps = {

View File

@ -333,7 +333,6 @@ class Preferences extends React.Component {
Preferences.propTypes = {
fontSize: PropTypes.number.isRequired,
consoleFontSize: PropTypes.number.isRequired,
indentationAmount: PropTypes.number.isRequired,
setIndentation: PropTypes.func.isRequired,
indentWithSpace: PropTypes.func.isRequired,