forked from tanner/qotnews
feat: Show detailed connection errors in collapsible section
This commit is contained in:
@@ -80,7 +80,12 @@ function Feed({ updateCache }) {
|
|||||||
<title>QotNews</title>
|
<title>QotNews</title>
|
||||||
<meta name="robots" content="index" />
|
<meta name="robots" content="index" />
|
||||||
</Helmet>
|
</Helmet>
|
||||||
{error && <p>Connection error?</p>}
|
{error &&
|
||||||
|
<details>
|
||||||
|
<summary>Connection error? Click to expand.</summary>
|
||||||
|
<p>{error}</p>
|
||||||
|
</details>
|
||||||
|
}
|
||||||
{stories ?
|
{stories ?
|
||||||
<div>
|
<div>
|
||||||
{stories.map(x =>
|
{stories.map(x =>
|
||||||
|
|||||||
Reference in New Issue
Block a user