1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 10:52:47 +00:00

fixed html in preview

This commit is contained in:
2016-09-02 18:19:28 +00:00
parent 00d50fea7a
commit 6bf367f9be
4 changed files with 5 additions and 7 deletions

View File

@@ -23,7 +23,6 @@ export default class Index extends React.Component {
this.page === 'post' ? this.props.actions.fetchPost(this.props.params.category, this.props.params.post) : "";
}
componentWillReceiveProps(nextProps) {
if (this.props.params !== nextProps.params) {
const params = nextProps.params;
@@ -58,6 +57,6 @@ export default class Index extends React.Component {
}
}
const loadingElement = <div class="Loading">
const loadingElement = <div class="Loading">
<img src={loading} alt="loading..."/>
</div>;