docs(insights): describe the ECG section's failure row as it is

The page comment still said the overview section unmounts silently on
a read error; it shows a QueryErrorRow, which is what the UI standards
ask of a supplementary block. The page keeps the full error card.
This commit is contained in:
Marc-André Bombeck committed 2026-10-20 11:03:18 +02:00
1 parent bd00845be3
commit 7e6ed676e0
1 file changed
+4 -3
+4 -3
View File
@@ -41,9 +41,10 @@ export default function InsightsEcgPage() {
const data = page?.data;
// A read failure must be visible, not a heading over an empty body that
// reads the same as "still loading" (§6). The section teaser below unmounts
// silently on error, which is right for the overview but wrong for the page
// the user opened to see this list.
// reads the same as "still loading" (§6). The section shows a one-line
// `QueryErrorRow`, the right weight for a supplementary block on the
// overview; on the page the person opened to see this list the failure is
// the whole content, so it gets the full `QueryErrorCard` instead.
if (isError) {
return (
<SubPageShell