diff --git a/src/components/views/auth/VectorAuthHeaderLogo.js b/src/components/views/auth/VectorAuthHeaderLogo.js index 7a40f44559..38d10044b3 100644 --- a/src/components/views/auth/VectorAuthHeaderLogo.js +++ b/src/components/views/auth/VectorAuthHeaderLogo.js @@ -22,20 +22,18 @@ import PropTypes from 'prop-types'; const LOGO_URI = "themes/riot/img/logos/riot-im-logo-black-text.svg"; -module.exports = React.createClass({ - displayName: 'VectorAuthHeaderLogo', - statics: { - replaces: 'AuthHeaderLogo', - }, - propTypes: { - icon: PropTypes.string, - }, +export default class VectorAuthHeaderLogo extends React.PureComponent { + static replaces = 'AuthHeaderLogo' - render: function() { + static propTypes = { + icon: PropTypes.string, + } + + render() { return (
Riot
); - }, -}); + } +}