diff --git a/webclient/src/Article.js b/webclient/src/Article.js index 2e5e376..6d74d2e 100644 --- a/webclient/src/Article.js +++ b/webclient/src/Article.js @@ -24,7 +24,9 @@ class Article extends React.Component { localForage.getItem(id) .then( (value) => { - this.setState({ story: value }); + if (value) { + this.setState({ story: value }); + } } );