diff --git a/webclient/src/Article.js b/webclient/src/Article.js index a2cff1a..1aec47e 100644 --- a/webclient/src/Article.js +++ b/webclient/src/Article.js @@ -36,7 +36,7 @@ function Article({ cache }) { localForage.setItem(id, result.story); }, (error) => { - const errorMessage = `Failed to fetch article content (ID: ${id}). Your connection may be down or the server might be experiencing issues. ${error.toString()}.`; + const errorMessage = `Failed to fetch new article content (ID: ${id}). Your connection may be down or the server might be experiencing issues. ${error.toString()}.`; setError(errorMessage); } ); @@ -60,6 +60,7 @@ function Article({ cache }) {
Connection error? Click to expand.

{error}

+ {story &&

Loaded article from cache.

}
{story ?
@@ -101,7 +102,7 @@ function Article({ cache }) { }
: -

loading...

+

Loading...

}