static es7
This commit is contained in:
parent
e68ae6737c
commit
61c82d3b05
1 changed files with 2 additions and 1 deletions
3
html.jsx
3
html.jsx
|
|
@ -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: "" };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue