feat: Show detailed connection errors in collapsible section

This commit is contained in:
2025-11-21 00:41:57 +00:00
committed by Tanner Collin (aider)
parent 53468c8ccd
commit 21b5d67052

View File

@@ -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 =>