Fix newsletter related broken eslint rules

This commit is contained in:
Tautvidas Sipavičius
2018-11-01 01:49:35 +02:00
parent 70743b98b6
commit 5b077b3911
17 changed files with 479 additions and 382 deletions

View File

@@ -2,6 +2,7 @@ import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route, IndexRedirect, useRouterHistory } from 'react-router';
import { createHashHistory } from 'history';
import PropTypes from 'prop-types';
import SystemStatus from 'help/system_status.jsx';
import SystemInfo from 'help/system_info.jsx';
@@ -15,6 +16,10 @@ class App extends React.Component {
}
}
App.propTypes = {
children: PropTypes.element.isRequired,
};
const container = document.getElementById('help_container');
if (container) {