static es7

This commit is contained in:
Luandro 2015-10-07 09:06:58 -03:00
parent e68ae6737c
commit 61c82d3b05

View file

@ -5,6 +5,7 @@ import DocumentTitle from 'react-document-title';
let TypographyStyle = new Typography().TypographyStyle; let TypographyStyle = new Typography().TypographyStyle;
export default class Html extends React.Component { export default class Html extends React.Component {
static defaultProps = { body: "" };
render() { render() {
let title, urlPrefix; let title, urlPrefix;
title = DocumentTitle.rewind(); title = DocumentTitle.rewind();
@ -52,4 +53,4 @@ export default class Html extends React.Component {
); );
} }
} }
Html.defaultProps = { body: "" }; // Html.defaultProps = { body: "" };