From 61c82d3b05584efaaed1511de78710aba2fd00e9 Mon Sep 17 00:00:00 2001 From: Luandro Date: Wed, 7 Oct 2015 09:06:58 -0300 Subject: [PATCH] static es7 --- html.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html.jsx b/html.jsx index ee98186..f840554 100644 --- a/html.jsx +++ b/html.jsx @@ -5,6 +5,7 @@ import DocumentTitle from 'react-document-title'; let TypographyStyle = new Typography().TypographyStyle; export default class Html extends React.Component { + static defaultProps = { body: "" }; render() { let title, urlPrefix; title = DocumentTitle.rewind(); @@ -52,4 +53,4 @@ export default class Html extends React.Component { ); } } -Html.defaultProps = { body: "" }; +// Html.defaultProps = { body: "" };