-
-
{children || 'Loading'}
-
- {CONNECTION_ERROR_TEXT[error]}
+ {isUnrecoverableError ? (
+
+ ) : (
+
+ )}
+
+ {isUnrecoverableError ? 'An error occurred' : children || 'Loading'}
+ {CONNECTION_ERROR_TEXT[error.error] && (
+
+ )}
)
}
diff --git a/src/components/Spinner.tsx b/src/components/Spinner.tsx
index 539511f0c..fca2cc826 100644
--- a/src/components/Spinner.tsx
+++ b/src/components/Spinner.tsx
@@ -12,7 +12,7 @@ export const Spinner = (props: SVGProps