displayName should be tracked as static

This commit is contained in:
Matthew Hodgson 2018-04-18 16:19:37 +01:00
parent 0571c596e3
commit 92c98aa3e5

View file

@ -25,7 +25,7 @@ import sanitizeHtml from 'sanitize-html';
import sdk from '../../index'; import sdk from '../../index';
class HomePage extends React.Component { class HomePage extends React.Component {
displayName = 'HomePage'; static displayName = 'HomePage';
static propTypes = { static propTypes = {
// URL base of the team server. Optional. // URL base of the team server. Optional.